hudson.plugins.git.GitException: Command "C:\Program Files\Git\bin\git.exe ls-remote -h https://sumanpk@bitbucket.org/sumanpk/bitbucketjenkins01.git" returned status code -1:<br>stdout: <br>stderr: <br>java.io.IOException: hudson.plugins.git.GitException: Command "C:\Program Files\Git\bin\git.exe ls-remote -h https://sumanpk@bitbucket.org/sumanpk/bitbucketjenkins01.git" returned status code -1:<br>stdout: <br>stderr: <br>
Searched on Google with the first line of a JAVA stack trace?
We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.
Recommended solutions based on your search
Samebug tips
Our Jenkins(J) is linked with Bitbucket(BB). A pull request(PR) is created in BB, then it's auto-built in J, then it's updated with a commit but BB doesn't update the branch, so J can't check it out. Solution: open the PR in BB web ui.
Solutions on the web
via Google Groups by sum...@gmail.com (JIRA), 1 year ago
via Google Groups by pt...@roshitech.com (JIRA), 1 year ago
via Jenkins JIRA by Michael F., 1 year ago
via Jenkins JIRA by Federico Naum, 1 year ago
via Jenkins JIRA by Mark Edwards, 1 year ago
via Jenkins JIRA by Charles Doucette, 1 year ago
hudson.plugins.git.GitException: Command "C:\Program Files\Git\bin\git.exe ls-remote -h https://sumanpk@bitbucket.org/sumanpk/bitbucketjenkins01.git" returned status code -1:<br>stdout: <br>stderr: <br>
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1752)
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1495)
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1419)
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1410)
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.getHeadRev(CliGitAPIImpl.java:2463)
at hudson.plugins.git.GitSCM.compareRemoteRevisionWithImpl(GitSCM.java:613)
at hudson.plugins.git.GitSCM.compareRemoteRevisionWith(GitSCM.java:572)
at hudson.scm.SCM.compareRemoteRevisionWith(SCM.java:391)
at hudson.scm.SCM.poll(SCM.java:408)
at hudson.model.AbstractProject._poll(AbstractProject.java:1460)
at hudson.model.AbstractProject.poll(AbstractProject.java:1363)
at com.cloudbees.jenkins.plugins.BitBucketTrigger$1.runPolling(BitBucketTrigger.java:62)
at com.cloudbees.jenkins.plugins.BitBucketTrigger$1.run(BitBucketTrigger.java:87)
at hudson.util.SequentialExecutionQueue$QueueEntry.run(SequentialExecutionQueue.java:119)
at jenkins.util.ContextResettingExecutorService$1.run(ContextResettingExecutorService.java:28)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)