Skip to content

Instantly share code, notes, and snippets.

@veriojon
Created November 17, 2010 16:22
Show Gist options
  • Save veriojon/703586 to your computer and use it in GitHub Desktop.
Save veriojon/703586 to your computer and use it in GitHub Desktop.
hudson error
Started by user anonymous
Checkout:workspace / /Users/jon/.hudson/jobs/Test Imata/workspace - hudson.remoting.LocalChannel@591c5342
Using strategy: Default
Last Built Revision: Revision 1b127fc6593990fca813074d4611eead04c71ced (origin/master)
Checkout:workspace / /Users/jon/.hudson/jobs/Test Imata/workspace - hudson.remoting.LocalChannel@591c5342
GitAPI created
Fetching changes from the remote Git repository
Fetching upstream changes from git@testbed2:imata.git
[workspace] $ git fetch -t git@testbed2:imata.git +refs/heads/*:refs/remotes/origin/*
ERROR: Problem fetching from origin / origin - could be unavailable. Continuing anyway
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$2.invoke(GitSCM.java:759)
at hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:718)
at hudson.FilePath.act(FilePath.java:753)
at hudson.FilePath.act(FilePath.java:735)
at hudson.plugins.git.GitSCM.checkout(GitSCM.java:718)
at hudson.model.AbstractProject.checkout(AbstractProject.java:1119)
at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:479)
at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:411)
at hudson.model.Run.run(Run.java:1324)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:139)
@jaromirmuller
Copy link

I ended up needing to setup ssh keys between the hudson server and the git repository to get this working.
How can I do it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment