Started by user John Tangney [EnvInject] - Loading node environment variables. Building remotely on win-build-slave1 in workspace c:\jenkins\workspace\JDT [JDT] $ sh -xe C:\Users\jenkins\hudson5633305261937738873.sh + whoami winbuild01\cyg_server + echo /home/jenkins /home/jenkins + /usr/bin/git --version git version 1.7.9 + echo /bin/bash /bin/bash Finished: SUCCESS
From: jdtangney <jo...@jdtangney.com>
To: jenkins...@googlegroups.com
Sent: Thursday, June 6, 2013 2:35 PM
Subject: Git problem with Linux master and Windows slave
--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Hi,
[sorry for top posting]
1) Execute shell assumes Unix, so it works fine in cygwin.
2) Your cloning happens in the Windows world (not in cygwin), it doesn’t know what /usr/bin is.
Try removing git from cygwin and install msysgit instead (integrates better into the Windows world and works from cygwin, too). If you have a git installation defined in your global Jenkins config, either remove it completely or remove absolute paths from it (use only “git” instead of “/path/to/git”). You can also omit “.exe”, so that this definition will work in both worlds.
HTH...
Dirk
![]()
Dirk Heinrichs, Senior Systems Engineer, Infrastructure
Recommind GmbH, Von-Liebig-Straße 1, 53359 Rheinbach
Tel: +49 2226 1596666 1149
Email: dirk.he...@recommind.com
Skype: dirk.heinrichs.recommind
--