hudson.plugins.git.GitException: Command "git.exe fetch --tags --progress http://gitlab.com/thangavele/ej1-listview-component.git +refs/heads/*:refs/remotes/origin/*" returned status code -1: stdout: stderr:

GitHub | thangam105 | 4 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Jenkins build error while fetch the repo

    GitHub | 4 months ago | thangam105
    hudson.plugins.git.GitException: Command "git.exe fetch --tags --progress http://gitlab.com/thangavele/ej1-listview-component.git +refs/heads/*:refs/remotes/origin/*" returned status code -1: stdout: stderr:
  2. 0

    Jenkins integration with Github plugin for Private repository

    Stack Overflow | 11 months ago | Swaraj
    hudson.plugins.git.GitException: Command "C:\Program Files\Git\bin\git.exe -c core.askpass=true fetch --tags --progress https://github.com/---/---.git +refs/heads/*:refs/remotes/origin/*" returned status code -1: stdout: stderr:
  3. 0

    I verified the credentials file is created and has the correct information I tried 2 different credentials my user account and the jenkins domain account, both have read permissions in the repo If i take the same commands and put them in a "Execute batch command" it times out as well If i take the commands out of jenkins and run them in a command prompt they are successsful! Output from build Started by user ***** ****** [EnvInject] - Loading node environment variables. Building in workspace C:\Program Files (x86)\Jenkins\jobs\WebAppTest\workspace [WS-CLEANUP] Deleting project workspace... [WS-CLEANUP] Done Cloning the remote Git repository Cloning repository https://<Git enabled tfs>/_git/Project > C:\Program Files\Git\bin\git.exe init C:\Program Files (x86)\Jenkins\jobs\WebAppTest\workspace # timeout=10 Fetching upstream changes from https://<Git enabled tfs>/_git/Project > C:\Program Files\Git\bin\git.exe --version # timeout=10 using .gitcredentials to set credentials > C:\Program Files\Git\bin\git.exe config --local credential.username <domain>\<username> # timeout=10 > C:\Program Files\Git\bin\git.exe config --local credential.helper store --file=\"C:\Users\<username>\AppData\Local\Temp\git2738443241863674451.credentials\" # timeout=10 > C:\Program Files\Git\bin\git.exe -c core.askpass=true fetch --tags --progress https://<Git enabled tfs>/_git/Project +refs/heads/*:refs/remotes/origin/* ERROR: Timeout after 10 minutes > C:\Program Files\Git\bin\git.exe config --local --remove-section credential # timeout=10 ERROR: Error cloning remote repo 'origin' hudson.plugins.git.GitException: Command "C:\Program Files\Git\bin\git.exe -c core.askpass=true fetch --tags --progress https://<Git enabled tfs>/_git/Project +refs/heads/*:refs/remotes/origin/*" returned status code -1: stdout: stderr: at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1719) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1463) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$300(CliGitAPIImpl.java:63) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:314) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$2.execute(CliGitAPIImpl.java:506) at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1013) at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1053) at hudson.scm.SCM.checkout(SCM.java:485) at hudson.model.AbstractProject.checkout(AbstractProject.java:1269) at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:607) at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:529) at hudson.model.Run.execute(Run.java:1738) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:410) ERROR: null IIS Logs from TFS Server 2016-03-17 15:57:39 192.168.***.888 GET /tfs/DefaultCollection/****/_git/project/info/refs service=git-upload-pack 443 - 888.888.***.*** git/2.7.3.windows.1 - 401 2 5 0 2016-03-17 16:01:22 192.168.888.888 GET /tfs/DefaultCollection/****/_git/project/info/refs service=git-upload-pack 443 - 192.168.***.*** git/2.7.3.windows.1 - 401 2 5 0 --no further traffic from jenkins.

    Jenkins JIRA | 1 year ago | chris hudson
    hudson.plugins.git.GitException: Command "C:\Program Files\Git\bin\git.exe -c core.askpass=true fetch --tags --progress https://<Git enabled tfs>/_git/Project +refs/heads/*:refs/remotes/origin/*" returned status code -1: stdout: stderr:
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    I verified the credentials file is created and has the correct information I tried 2 different credentials my user account and the jenkins domain account, both have read permissions in the repo If i take the same commands and put them in a "Execute batch command" it times out as well If i take the commands out of jenkins and run them in a command prompt they are successsful! Output from build Started by user ***** ****** [EnvInject] - Loading node environment variables. Building in workspace C:\Program Files (x86)\Jenkins\jobs\WebAppTest\workspace [WS-CLEANUP] Deleting project workspace... [WS-CLEANUP] Done Cloning the remote Git repository Cloning repository https://<Git enabled tfs>/_git/Project > C:\Program Files\Git\bin\git.exe init C:\Program Files (x86)\Jenkins\jobs\WebAppTest\workspace # timeout=10 Fetching upstream changes from https://<Git enabled tfs>/_git/Project > C:\Program Files\Git\bin\git.exe --version # timeout=10 using .gitcredentials to set credentials > C:\Program Files\Git\bin\git.exe config --local credential.username <domain>\<username> # timeout=10 > C:\Program Files\Git\bin\git.exe config --local credential.helper store --file=\"C:\Users\<username>\AppData\Local\Temp\git2738443241863674451.credentials\" # timeout=10 > C:\Program Files\Git\bin\git.exe -c core.askpass=true fetch --tags --progress https://<Git enabled tfs>/_git/Project +refs/heads/*:refs/remotes/origin/* ERROR: Timeout after 10 minutes > C:\Program Files\Git\bin\git.exe config --local --remove-section credential # timeout=10 ERROR: Error cloning remote repo 'origin' hudson.plugins.git.GitException: Command "C:\Program Files\Git\bin\git.exe -c core.askpass=true fetch --tags --progress https://<Git enabled tfs>/_git/Project +refs/heads/*:refs/remotes/origin/*" returned status code -1: stdout: stderr: at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1719) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1463) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$300(CliGitAPIImpl.java:63) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:314) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$2.execute(CliGitAPIImpl.java:506) at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1013) at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1053) at hudson.scm.SCM.checkout(SCM.java:485) at hudson.model.AbstractProject.checkout(AbstractProject.java:1269) at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:607) at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:529) at hudson.model.Run.execute(Run.java:1738) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:410) ERROR: null IIS Logs from TFS Server 2016-03-17 15:57:39 192.168.***.888 GET /tfs/DefaultCollection/****/_git/project/info/refs service=git-upload-pack 443 - 888.888.***.*** git/2.7.3.windows.1 - 401 2 5 0 2016-03-17 16:01:22 192.168.888.888 GET /tfs/DefaultCollection/****/_git/project/info/refs service=git-upload-pack 443 - 192.168.***.*** git/2.7.3.windows.1 - 401 2 5 0 --no further traffic from jenkins.

    Jenkins JIRA | 1 year ago | chris hudson
    hudson.plugins.git.GitException: Command "C:\Program Files\Git\bin\git.exe -c core.askpass=true fetch --tags --progress https://<Git enabled tfs>/_git/Project +refs/heads/*:refs/remotes/origin/*" returned status code -1: stdout: stderr:
  6. 0

    Jenkins gradle build issue while using gitlab source code

    Stack Overflow | 4 months ago | School Boy
    hudson.plugins.git.GitException: Failed to fetch from https://gitlab.com/AshwinBhanushali/myarogya.git

    1 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. hudson.plugins.git.GitException

      Command "git.exe fetch --tags --progress http://gitlab.com/thangavele/ej1-listview-component.git +refs/heads/*:refs/remotes/origin/*" returned status code -1: stdout: stderr:

      at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn()
    2. org.jenkinsci.plugins
      CliGitAPIImpl$2.execute
      1. org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1772)
      2. org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1516)
      3. org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$300(CliGitAPIImpl.java:67)
      4. org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:318)
      5. org.jenkinsci.plugins.gitclient.CliGitAPIImpl$2.execute(CliGitAPIImpl.java:515)
      5 frames
    3. Hudson GIT plugin
      GitSCM.checkout
      1. hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1054)
      2. hudson.plugins.git.GitSCM.checkout(GitSCM.java:1094)
      2 frames
    4. Hudson
      AbstractBuild$AbstractBuildExecution.defaultCheckout
      1. hudson.scm.SCM.checkout(SCM.java:495)
      2. hudson.model.AbstractProject.checkout(AbstractProject.java:1278)
      3. hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:604)
      3 frames
    5. jenkins.scm
      SCMCheckoutStrategy.checkout
      1. jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
      1 frame
    6. Hudson
      Executor.run
      1. hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:529)
      2. hudson.model.Run.execute(Run.java:1728)
      3. hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      4. hudson.model.ResourceController.execute(ResourceController.java:98)
      5. hudson.model.Executor.run(Executor.java:404)
      5 frames