Getting error while building docker image in Jenkins. I am using google lab CPO200 course.
/tmp/hudson7642004630213449625.sh: 2:
/tmp/hudson7642004630213449625.sh: ./build.sh: Permission denied
Are you sure build.sh
has the execute bit? Maybe chmod +x
?
You can get a permission denied
error if you try to execute a shell script that does not have the execute bit set.