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

Jenkins JIRA | scode | 6 years ago
  1. 0

    The initial git clone will behave differently than normal because git doesn't behave consistently across empty/non-empty repositories. Subsequent build attempts, even after making the repository non-empty, end up failing with: 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:735) at hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:702) at hudson.FilePath.act(FilePath.java:753) at hudson.FilePath.act(FilePath.java:735) at hudson.plugins.git.GitSCM.checkout(GitSCM.java:702) at hudson.model.AbstractProject.checkout(AbstractProject.java:1116) 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.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:349) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:139) This should be easy to reproduce and I strongly suspect it's just about the difference in which git initializes .git/config for the empty/non-empty cases. I'm not familiar with hudson and it's git plugin enough to make any concrete suggestions as to how it should be handled in this particular case

    Jenkins JIRA | 6 years ago | scode
    hudson.plugins.git.GitException: Could not fetch from any repository
  2. 0

    The initial git clone will behave differently than normal because git doesn't behave consistently across empty/non-empty repositories. Subsequent build attempts, even after making the repository non-empty, end up failing with: 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:735) at hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:702) at hudson.FilePath.act(FilePath.java:753) at hudson.FilePath.act(FilePath.java:735) at hudson.plugins.git.GitSCM.checkout(GitSCM.java:702) at hudson.model.AbstractProject.checkout(AbstractProject.java:1116) 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.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:349) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:139) This should be easy to reproduce and I strongly suspect it's just about the difference in which git initializes .git/config for the empty/non-empty cases. I'm not familiar with hudson and it's git plugin enough to make any concrete suggestions as to how it should be handled in this particular case

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

    How can I evade build fails in Hudson when there is no code change?

    Stack Overflow | 5 years ago | Winston Chen
    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

    error fetching git repo

    Google Groups | 5 years ago | Eyal Edri
    hudson.plugins.git.GitException: Could not fetch from any repository
  6. 0

    Build failed in Jenkins: Nakamura #1351

    Google Groups | 5 years ago | Unknown author
    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:735)
      2. hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:702)
      2 frames
    3. Hudson
      FilePath.act
      1. hudson.FilePath.act(FilePath.java:753)
      2. hudson.FilePath.act(FilePath.java:735)
      2 frames
    4. Hudson GIT plugin
      GitSCM.checkout
      1. hudson.plugins.git.GitSCM.checkout(GitSCM.java:702)
      1 frame
    5. Hudson
      Run.run
      1. hudson.model.AbstractProject.checkout(AbstractProject.java:1116)
      2. hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:479)
      3. hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:411)
      4. hudson.model.Run.run(Run.java:1324)
      4 frames
    6. Hudson Maven Embedder
      MavenModuleSetBuild.run
      1. hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:349)
      1 frame
    7. Hudson
      Executor.run
      1. hudson.model.ResourceController.execute(ResourceController.java:88)
      2. hudson.model.Executor.run(Executor.java:139)
      2 frames