| Summary: | git not installed on windows7tests slave | ||
|---|---|---|---|
| Product: | Community | Reporter: | Andrew Niefer <aniefer> |
| Component: | CI-Jenkins | Assignee: | Eclipse Webmaster <webmaster> |
| Status: | VERIFIED WORKSFORME | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | ||
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Whiteboard: | |||
|
Description
Andrew Niefer
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. |