mhudson.plugins.git.GitException: Error performing git command

Jenkins JIRA | Vinod Dani | 2 years ago
  1. 0

    After upgrading the Jenkins to 1.565.1 and upgrading the Git plugins as well, sometimes we are receiving following error: {noformat} Fetching upstream changes from origin ERROR: Problem fetching from origin / origin - could be unavailable. Continuing anyway ha:AAAAWB+LCAAAAAAAAP9b85aBtbiIQSmjNKU4P08vOT+vOD8nVc8DzHWtSE4tKMnMz/PLL0ldFVf2c+b/lb5MDAwVRQxSaBqcITRIIQMEMIIUFgAAckCEiWAAAAA=hudson.plugins.git.GitException: Error performing git command at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:882) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:851) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.fetch(CliGitAPIImpl.java:159) at hudson.plugins.git.GitAPI.fetch(GitAPI.java:227) at hudson.plugins.git.GitAPI.fetch(GitAPI.java:231) at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:791) at hudson.plugins.git.GitSCM.access$000(GitSCM.java:58) at hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:983) at hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:948) at hudson.FilePath.act(FilePath.java:920) at hudson.FilePath.act(FilePath.java:893) at hudson.plugins.git.GitSCM.determineRevisionToBuild(GitSCM.java:948) at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1114) at hudson.model.AbstractProject.checkout(AbstractProject.java:1252) at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:615) at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:524) at hudson.model.Run.execute(Run.java:1706) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:232) Caused by: java.lang.InterruptedException at java.lang.ProcessImpl.waitFor(Native Method) at hudson.Proc$LocalProc.join(Proc.java:319) at hudson.Launcher$ProcStarter.join(Launcher.java:367) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:869) ... 20 more {noformat} Java settings are as: {noformat} C:\Users\Administrator>java -version java version "1.7.0_51" Java(TM) SE Runtime Environment (build 1.7.0_51-b13) Java HotSpot(TM) 64-Bit Server VM (build 24.51-b03, mixed mode) {noformat} git plugin details are attached.

    Jenkins JIRA | 2 years ago | Vinod Dani
    mhudson.plugins.git.GitException: Error performing git command
  2. 0

    After upgrading the Jenkins to 1.565.1 and upgrading the Git plugins as well, sometimes we are receiving following error: {noformat} Fetching upstream changes from origin ERROR: Problem fetching from origin / origin - could be unavailable. Continuing anyway ha:AAAAWB+LCAAAAAAAAP9b85aBtbiIQSmjNKU4P08vOT+vOD8nVc8DzHWtSE4tKMnMz/PLL0ldFVf2c+b/lb5MDAwVRQxSaBqcITRIIQMEMIIUFgAAckCEiWAAAAA=hudson.plugins.git.GitException: Error performing git command at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:882) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:851) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.fetch(CliGitAPIImpl.java:159) at hudson.plugins.git.GitAPI.fetch(GitAPI.java:227) at hudson.plugins.git.GitAPI.fetch(GitAPI.java:231) at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:791) at hudson.plugins.git.GitSCM.access$000(GitSCM.java:58) at hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:983) at hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:948) at hudson.FilePath.act(FilePath.java:920) at hudson.FilePath.act(FilePath.java:893) at hudson.plugins.git.GitSCM.determineRevisionToBuild(GitSCM.java:948) at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1114) at hudson.model.AbstractProject.checkout(AbstractProject.java:1252) at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:615) at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:524) at hudson.model.Run.execute(Run.java:1706) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:232) Caused by: java.lang.InterruptedException at java.lang.ProcessImpl.waitFor(Native Method) at hudson.Proc$LocalProc.join(Proc.java:319) at hudson.Launcher$ProcStarter.join(Launcher.java:367) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:869) ... 20 more {noformat} Java settings are as: {noformat} C:\Users\Administrator>java -version java version "1.7.0_51" Java(TM) SE Runtime Environment (build 1.7.0_51-b13) Java HotSpot(TM) 64-Bit Server VM (build 24.51-b03, mixed mode) {noformat} git plugin details are attached.

    Jenkins JIRA | 2 years ago | Vinod Dani
    mhudson.plugins.git.GitException: Error performing git command
  3. 0

    Jenkins hanging at "Fetching upstream changes from origin"

    Stack Overflow | 4 years ago | DTI-Matt
    hudson.plugins.git.GitException: Error performing command: C:\Program Files (x86)\Git\bin\git.exe fetch -t origin +refs/heads/*:refs/remotes/origin/*
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Correctly configure Git with Jenkins under Windows 7

    Stack Overflow | 4 years ago | Edmondo1984
    hudson.plugins.git.GitException: Could not clone git@github.com:GBSA/Gottware-server.git
  6. 0

    Hudson failed to clone git repository + Hudson PORT change

    Stack Overflow | 3 years ago | Umair Iqbal
    hudson.plugins.git.GitException: Error performing command: C:\Program Files (x86)\SmartGitHg 4.5\git\bin\git.exe fetch -t git@vrtbichler11.informatik.tu- muenchen.de:wsc18 +refs/heads/*:refs/remotes/origin/* null

    3 unregistered visitors
    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. java.lang.InterruptedException

      No message provided

      at java.lang.ProcessImpl.waitFor()
    2. Java RT
      ProcessImpl.waitFor
      1. java.lang.ProcessImpl.waitFor(Native Method)
      1 frame
    3. Hudson
      Launcher$ProcStarter.join
      1. hudson.Proc$LocalProc.join(Proc.java:319)
      2. hudson.Launcher$ProcStarter.join(Launcher.java:367)
      2 frames
    4. org.jenkinsci.plugins
      CliGitAPIImpl.fetch
      1. org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:869)
      2. org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:851)
      3. org.jenkinsci.plugins.gitclient.CliGitAPIImpl.fetch(CliGitAPIImpl.java:159)
      3 frames
    5. Hudson GIT plugin
      GitSCM$2.invoke
      1. hudson.plugins.git.GitAPI.fetch(GitAPI.java:227)
      2. hudson.plugins.git.GitAPI.fetch(GitAPI.java:231)
      3. hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:791)
      4. hudson.plugins.git.GitSCM.access$000(GitSCM.java:58)
      5. hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:983)
      6. hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:948)
      6 frames
    6. Hudson
      FilePath.act
      1. hudson.FilePath.act(FilePath.java:920)
      2. hudson.FilePath.act(FilePath.java:893)
      2 frames
    7. Hudson GIT plugin
      GitSCM.checkout
      1. hudson.plugins.git.GitSCM.determineRevisionToBuild(GitSCM.java:948)
      2. hudson.plugins.git.GitSCM.checkout(GitSCM.java:1114)
      2 frames
    8. Hudson
      AbstractBuild$AbstractBuildExecution.defaultCheckout
      1. hudson.model.AbstractProject.checkout(AbstractProject.java:1252)
      2. hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:615)
      2 frames
    9. jenkins.scm
      SCMCheckoutStrategy.checkout
      1. jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
      1 frame
    10. Hudson
      Executor.run
      1. hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:524)
      2. hudson.model.Run.execute(Run.java:1706)
      3. hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      4. hudson.model.ResourceController.execute(ResourceController.java:88)
      5. hudson.model.Executor.run(Executor.java:232)
      5 frames