The locations for various tools used by Jenkins can usually be configured for 
every node.

Go into the Mac slave configuration page, check the box named "Tool locations". 
Then add a Git tool location and specify the path to the git executable on the 
Mac slave.

-- Sami

Andrew Schaps kirjoitti 12.7.2012 kello 0.04:

> Our master instance of Jenkins is properly configured on a Windows box to 
> access our git repositories and build several .NET projects.  We've setup a 
> slave on a Mac OS X machine to build an Objective-C project and when the job 
> runs it tries to clone the Objective-C project repository using the Windows 
> git command and we get this:
> 
> Caused by: hudson.plugins.git.GitException: Error performing command: 
> c:\Program Files (x86)\git\cmd\git.cmd clone -o origin 
> g...@github.com:PATH_TO_OUR_REPO.git PATH_TO_LOCAL_CLONE_IN_WORKSPACE
> 
> Is what we're trying to do even possible or do we need to run separate 
> Windows and Mac OS X Jenkins servers?  If it is possible, any help would be 
> appreciated.
> 
> Regards,
> Andrew Schaps

Reply via email to