Denis,
thanks for the quick response. . I
switched to /gitroot, this solved the issue.
Michael
Change your repository.
Best, fastest, most reliable: Use the filesystem
/gitroot/gmp/org.eclipse.gmp.graphiti.git
Or, use
git://git.eclipse.org/gitroot/gmp/org.eclipse.gmp.graphiti.git
If you absolutely must use http:
http://git.eclipse.org/gitroot/gmp/org.eclipse.gmp.graphiti.git
The /c/ URL you are using is the web-browsable Git repo
(like ViewCVS). It does not use the http smart server,
and increases our bandwidth and load for no reason (and
that is why we've disabled it).
Denis
On 10/26/2011 09:11 AM, Wenz, Michael wrote:
Hi,
is anybody else
getting errors from Hudson build jobs while fetching
stuff from Git? I get errors like this:
Checkout:workspace / /opt/users/hudsonbuild/.hudson/jobs/gmp-graphiti-nightly/workspace - hudson.remoting.LocalChannel@b09851a
Using strategy: Default
Last Built Revision: Revision bd2a9a6a277dcdd11b9d6e5de6c4ad66136777a8 (origin/master)
Checkout:org.eclipse.gmp.graphiti / /opt/users/hudsonbuild/.hudson/jobs/gmp-graphiti-nightly/workspace/org.eclipse.gmp/org.eclipse.gmp.graphiti - hudson.remoting.LocalChannel@b09851a
Fetching changes from the remote Git repository
Fetching upstream changes from http://git.eclipse.org/c/gmp/org.eclipse.gmp.graphiti.git/
ERROR: Problem fetching from origin / origin - could be unavailable. Continuing anyway
ERROR: (Underlying report) : Error performing command: git fetch -t http://git.eclipse.org/c/gmp/org.eclipse.gmp.graphiti.git/ +refs/heads/*:refs/remotes/origin/*
Command "git fetch -t http://git.eclipse.org/c/gmp/org.eclipse.gmp.graphiti.git/ +refs/heads/*:refs/remotes/origin/*" returned status code 128: error: The requested URL returned error: 403 (curl_result = 22, http_code = 403, sha1 = ce4a132ea0547dd1303994883fdcffaa02824cd0)
error: Unable to find ce4a132ea0547dd1303994883fdcffaa02824cd0 under http://git.eclipse.org/c/gmp/org.eclipse.gmp.graphiti.git
Cannot obtain needed object ce4a132ea0547dd1303994883fdcffaa02824cd0
error: Fetch failed.
ERROR: Could not fetch from any repository
FATAL: Could not fetch from any repository
hudson.plugins.git.GitException: Could not fetch from any repository
at hudson.plugins.git.GitSCM$3.invoke(GitSCM.java:796)
at hudson.plugins.git.GitSCM$3.invoke(GitSCM.java:754)
at hudson.FilePath.act(FilePath.java:758)
at hudson.FilePath.act(FilePath.java:740)
at hudson.plugins.git.GitSCM.gerRevisionToBuild(GitSCM.java:754)
at hudson.plugins.git.GitSCM.checkout(GitSCM.java:540)
at hudson.model.AbstractProject.checkout(AbstractProject.java:1217)
at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:508)
at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:424)
at hudson.model.Run.run(Run.java:1367)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:145)
The repository is
reachable both from Eclipse IDE and Web Browser.
Michael