Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-24692

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Major Major
    • None
    • Jenkins: 1.565.1

      After upgrading the Jenkins to 1.565.1 and upgrading the Git plugins as well, sometimes we are receiving following error:

      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
      
      

      Java settings are as:

      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)
      

      git plugin details are attached.

            ndeloof Nicolas De Loof
            vinoddani Vinod Dani
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: