Showing results for 
Search instead for 
Did you mean: 

repairnpm error in Jenkins during ant clean all

0 Kudos

We are upgrading Hybris 2005 -> 2205.

While performing ant clean all in Jenkins, we are getting below error

Cannot run program "/...../" (in directory "/jenkinsdata/..../workspace/hybris/bin/platform"): error=13, Permission denied

Java version is 17

Accepted Solutions (0)

Answers (1)

Answers (1)

0 Kudos

To fix this issue, you can either give the Jenkins user execute permissions on the script or run the Jenkins build as a user that already has execute permissions on the script.

You can also try this command : chmod +x /...../, it will give execute permission to the file.

0 Kudos

Hi Alessandro thank you for responding.

I tried this chmod in jenkins file with the exact directory path to the file.

But still the error appears.