Hello, I have just installed and configured Jenkins.
I wanted to test a simple “pipeline” but I encounter an error when I build
SCM: Bitbucket
Console output:
aused by: java.io.IOException: Cannot run program “/usr/bin/” (in directory “/var/lib/jenkins/workspace/test@script/0631b9cd3d3ed96ec71f246c40b92222b98e5c89d292f8de3fae3fb0e51e74e5”): error=13, Permission denied
A configuration setting in Jenkins might be incorrectly set to act as though a tool (possibly git) is the empty string instead of being git.
The message Cannot run program /usr/bin/ indicates that Jenkins is trying to run a program that has the same name as a common directory on Unix systems. That directory name cannot be run as a program. Now you’ll need to find the configuration problem that caused Jenkins to consider /usr/bin/ to be a program instead of a directory name.
Posting build status of INPROGRESS to Bitbucket Server instance for commit id [277f76fef7880b73e3a5b4c76e5cd16d32581133] and ref ‘null’
ERROR: /var/lib/jenkins/workspace/test@script/0631b9cd3d3ed96ec71f246c40b92222b98e5c89d292f8de3fae3fb0e51e74e5/Jenkinsfile not found
Posting build status of FAILED to Bitbucket Server instance for commit id [277f76fef7880b73e3a5b4c76e5cd16d32581133] and ref ‘null’
Finished: FAILURE