hudson.plugins.git.GitException: Could not fetch from any repository

Jenkins JIRA | Kohsuke Kawaguchi | 6 years ago
  1. 0

    [JENKINS-9052] Git plugin needs a better error diagnosis when failing to check out - Jenkins JIRA

    jenkins-ci.org | 1 year ago
    hudson.plugins.git.GitException: Could not fetch from any repository
  2. 0

    An user reported the following error in the IRC, where he fails to fetch from origin. As you can see, the Git plugin is not reporting the output from Git (nor the exit code), which makes trobule-shooting unnecessarily hard. In case of a failure, it should report the output and exit code. {noformat} Checkout:workspace / /Users/administrator/Documents/Jenkins/jobs/FLOW3 raise submodules in Base distribution/workspace - hudson.remoting.LocalChannel@35b5a4ca Using strategy: Default Last Built Revision: Revision e94111b7f46946051dda9ff1ca30e2c0299e025c (origin/master) Checkout:workspace / /Users/administrator/Documents/Jenkins/jobs/FLOW3 raise submodules in Base distribution/workspace - hudson.remoting.LocalChannel@35b5a4ca Fetching changes from the remote Git repository Fetching upstream changes from ssh://review.typo3.org/FLOW3/Distributions/Base 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:852) at hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:812) at hudson.FilePath.act(FilePath.java:757) at hudson.FilePath.act(FilePath.java:739) at hudson.plugins.git.GitSCM.checkout(GitSCM.java:812) at hudson.model.AbstractProject.checkout(AbstractProject.java:1182) at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:521) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:416) at hudson.model.Run.run(Run.java:1362) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:145) {noformat}

    Jenkins JIRA | 6 years ago | Kohsuke Kawaguchi
    hudson.plugins.git.GitException: Could not fetch from any repository
  3. 0

    An user reported the following error in the IRC, where he fails to fetch from origin. As you can see, the Git plugin is not reporting the output from Git (nor the exit code), which makes trobule-shooting unnecessarily hard. In case of a failure, it should report the output and exit code. {noformat} Checkout:workspace / /Users/administrator/Documents/Jenkins/jobs/FLOW3 raise submodules in Base distribution/workspace - hudson.remoting.LocalChannel@35b5a4ca Using strategy: Default Last Built Revision: Revision e94111b7f46946051dda9ff1ca30e2c0299e025c (origin/master) Checkout:workspace / /Users/administrator/Documents/Jenkins/jobs/FLOW3 raise submodules in Base distribution/workspace - hudson.remoting.LocalChannel@35b5a4ca Fetching changes from the remote Git repository Fetching upstream changes from ssh://review.typo3.org/FLOW3/Distributions/Base 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:852) at hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:812) at hudson.FilePath.act(FilePath.java:757) at hudson.FilePath.act(FilePath.java:739) at hudson.plugins.git.GitSCM.checkout(GitSCM.java:812) at hudson.model.AbstractProject.checkout(AbstractProject.java:1182) at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:521) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:416) at hudson.model.Run.run(Run.java:1362) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:145) {noformat}

    Jenkins JIRA | 6 years ago | Kohsuke Kawaguchi
    hudson.plugins.git.GitException: Could not fetch from any repository
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Permission denied (publickey) when setting up Jenkins

    Stack Overflow | 5 years ago | Aaron Greenlee
    hudson.plugins.git.GitException: Could not fetch from any repository
  6. 0

    Jenkins SSH issue on Mac OS X installed by homebrew

    Stack Overflow | 5 years ago | Sander Smits
    hudson.plugins.git.GitException: Could not fetch from any repository

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. hudson.plugins.git.GitException

      Could not fetch from any repository

      at hudson.plugins.git.GitSCM$2.invoke()
    2. Hudson GIT plugin
      GitSCM$2.invoke
      1. hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:852)
      2. hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:812)
      2 frames
    3. Hudson
      FilePath.act
      1. hudson.FilePath.act(FilePath.java:757)
      2. hudson.FilePath.act(FilePath.java:739)
      2 frames
    4. Hudson GIT plugin
      GitSCM.checkout
      1. hudson.plugins.git.GitSCM.checkout(GitSCM.java:812)
      1 frame
    5. Hudson
      Executor.run
      1. hudson.model.AbstractProject.checkout(AbstractProject.java:1182)
      2. hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:521)
      3. hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:416)
      4. hudson.model.Run.run(Run.java:1362)
      5. hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      6. hudson.model.ResourceController.execute(ResourceController.java:88)
      7. hudson.model.Executor.run(Executor.java:145)
      7 frames