Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 347893

Summary: Git executable not on hudsonBuild's path
Product: Community Reporter: Laurent Goubet <laurent.goubet>
Component: CI-JenkinsAssignee: Eclipse Webmaster <webmaster>
Status: CLOSED FIXED QA Contact:
Severity: blocker    
Priority: P3 CC: cedric.brun, sbouchet
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Laurent Goubet CLA 2011-06-01 05:08:54 EDT
We wiped the workspace of our build (EMF Compare 1.2, see https://hudson.eclipse.org/hudson/view/Modeling/job/emf-compare-1.2.0/) so that there is no longer a "workspace" directory at '/shared/jobs/emf-compare-1.2.0/workspace' . Unfortunately, it seems like the git clone cannot create that folder (I guess that's a permission denied). The log can be found on https://hudson.eclipse.org/hudson/view/Modeling/job/emf-compare-1.2.0/95/console for what it's worth.

We cannot log in to hudson.eclipse.org to try and make that folder ourselves, and thus are stuck with that exception.
Comment 1 Cedric Brun CLA 2011-06-01 08:38:49 EDT
This issue blocks our Indigo RC3 contribution and we don't have a clue or any workaround in the horizon.
Comment 2 Denis Roy CLA 2011-06-01 08:42:41 EDT
Actually, the error is: Cannot run program "git": java.io.IOException: error=2, No such file or directory

I've symlinked /usr/bin/git to /usr/local/bin/git, so you should be all set.
Comment 3 Cedric Brun CLA 2011-06-01 08:45:52 EDT
That was fast  ! The build is going on now, thanks Denis !
Comment 4 Laurent Goubet CLA 2011-06-01 08:47:43 EDT
(In reply to comment #2)
> Actually, the error is: Cannot run program "git": java.io.IOException: error=2,
> No such file or directory
> 
> I've symlinked /usr/bin/git to /usr/local/bin/git, so you should be all set.

And that's what I get for reading error messages too fast :s. Thanks for the fix :).
Comment 5 Laurent Goubet CLA 2011-06-01 08:48:13 EDT
Didn't mean to reopen -_-
Comment 6 Denis Roy CLA 2011-06-01 08:49:34 EDT
For future reference, anything in /shared is also accessible on the build.eclipse.org server... so technically, you never need to SSH into hudson.eclipse.org.