I try to execute a shell script during the build in Jenkins but i get an : “access denied” when i try to create a new folder.
I try to launch a php script in the shell script and i get access denied as well
I launched Jenkins from the .war file.
My question is how to give access to the shell script or user that execute to write in a specific folder?
I cannot put the chmod to 777 of this folder (too dangerous).
I finally launched my script through an url with the curl command, and this worked fine.
It’s not really a nice solution to the problem but i didn’t find any other work around 😉