Community
Participate
Working Groups
Git does not seem to be installed on the windows7tests slave. The orion-jstest-windows job (bug 341676) fails with Cannot run program "git": CreateProcess error=2, The system cannot find the file specified https://hudson.eclipse.org/hudson/job/orion-jstest-windows/6/console
I've installed git(msysgit). -M.
Does something need to be done to Hudson to pick up a PATH change, or perhaps tell hudson where the git executable is? I still get the error Building remotely on windows7tests Checkout:orion-jstest-windows / c:\hb\workspace\orion-jstest-windows - hudson.remoting.Channel@517da438:windows7tests Using strategy: Default Checkout:orion-jstest-windows / c:\hb\workspace\orion-jstest-windows - hudson.remoting.LocalChannel@95149e GitAPI created Cloning the remote Git repository Cloning repository origin/master $ git clone -o origin/master http://git.eclipse.org/gitroot/e4/org.eclipse.orion.server.git c:\hb\workspace\orion-jstest-windows ERROR: Error cloning remote repo 'origin/master' : Could not clone http://git.eclipse.org/gitroot/e4/org.eclipse.orion.server.git ERROR: Cause: Error performing git clone -o origin/master http://git.eclipse.org/gitroot/e4/org.eclipse.orion.server.git c:\hb\workspace\orion-jstest-windows Cannot run program "git": CreateProcess error=2, The system cannot find the file specified
(In reply to comment #2) This is using the Hudson "Source Code Management" -> Git option. I guess the alternative is not to use this and instead run git in a batch command since it is on the machine.
I"ve added the git location to the slaves hudson config. -M.
We are getting closer: $ "C:\Program Files\Git\cmd" clone -o origin/master http://git.eclipse.org/gitroot/e4/org.eclipse.orion.server.git c:\hb\workspace\orion-jstest-windows Cannot run program "C:\Program Files\Git\cmd": CreateProcess error=5, Access is denied
Fixed. -M.
Working for me now, thanks.