cancel
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 "/...../repairnpm.sh" (in directory "/jenkinsdata/..../workspace/hybris/bin/platform"): error=13, Permission denied

Java version is 17

Accepted Solutions (0)

Answers (1)

Answers (1)

alemasetto
Participant
0 Kudos

To fix this issue, you can either give the Jenkins user execute permissions on the repairnpm.sh 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 /...../repairnpm.sh, it will give execute permission to the repairnpm.sh 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.