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:


Solutions on the web516

Solution icon of github
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:

Solution icon of stackoverflow
Command "git.exe fetch --tags --progress https://githubenterprise.grangeinsurance.com/hmb/sail-server.git +refs/heads/*:refs/remotes/origin/*" returned status code -1: stdout: stderr:

Solution icon of googlegroups
via Google Groups by Bhavnik, 8 months ago
Command "E:\Programs\Git\cmd\git.exe fetch --no-tags --progress https://gituser@bitbucket.org/myproject/myprojectrepo.git +refs/heads/*:refs/remotes/origin/* --depth=1" returned status code -1: stdout: stderr:

Solution icon of stackoverflow
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:

Solution icon of stackoverflow
Command "git.exe fetch --tags --progress https://username@bitbucket.abc.xyz.com/scm//myproject.git +refs/heads/:refs/remotes/origin/" returned status code -1: stdout: stderr:

Solution icon of googlegroups
Command "git fetch --tags --progress http://dev.newtranx.com:18080/git/app/newtranxPT_iOS.git +refs/heads/*:refs/remotes/origin/*" returned status code 143: stdout: stderr:

Solution icon of jenkins
via Jenkins JIRA by chris hudson, 1 year ago
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:

Solution icon of jenkins
via Jenkins JIRA by chris hudson, 1 year ago
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:

Solution icon of googlegroups
Command &quot;C:\Program Files\Git\bin\git.exe -c core.askpass=true fetch --tags --progress https://&lt;Git enabled tfs&gt;/_git/Project +refs/heads/<b>:refs/remotes/origin/</b>&quot; returned status code -1: stdout: stderr:

Solution icon of stackoverflow
Command "git.exe -c core.askpass=true fetch --tags --progress git@github.com:mycompanyname/myrepo.git +refs/heads/*:refs/remotes/origin/*" returned status code -1: stdout: stderr: Warning: Permanently added the RSA host key for IP address '192.30.XXX.XXX' to the list of known hosts.

Stack trace

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(CliGitAPIImpl.java:1772)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1516)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$300(CliGitAPIImpl.java:67)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:318)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$2.execute(CliGitAPIImpl.java:515)
	at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1054)
	at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1094)
	at hudson.scm.SCM.checkout(SCM.java:495)
	at hudson.model.AbstractProject.checkout(AbstractProject.java:1278)
	at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:604)
	at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
	at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:529)
	at hudson.model.Run.execute(Run.java:1728)
	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
	at hudson.model.ResourceController.execute(ResourceController.java:98)
	at hudson.model.Executor.run(Executor.java:404)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 month ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
2 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
3 more bugmates