Its strange, because this directory exists. i suspect it is again something with spaces in directory paths, that if you pass /Users/hudson/jenkins/workspace/Scripts download not properly quoted, it will take only /Users/hudson/jenkins/workspace/Scripts as command-line argument, which of course does not exists. And git is in default path on mac slave.. which git /usr/local/git/bin/git On 23 March 2012 10:25, Igor Stasenko <siguctua@gmail.com> wrote:
On 23 March 2012 10:02, Pavel Krivanek <pavel.krivanek@gmail.com> wrote:
Hi,
we have got a problem with Git on CI server that cause failing "Scripts download" job. Console output tells:
Cannot run program "git" (in directory "/Users/hudson/jenkins/workspace/Scripts download"): error=2, No such file or directory
I looked at the Jenkins configuration and it cannot find Git: There's no such executable git in PATH: /sbin, /usr/sbin, /bin, /usr/bin.
It is because some swiss guy changed the slaves, where this job can be run by stating "linux || mac" without checking if all slaves have git installed. :)
Cheers, -- Pavel
-- Best regards, Igor Stasenko.
-- Best regards, Igor Stasenko.