hudson.plugins.git.GitException

Command "C:\Program Files\Git\bin\git.exe ls-remote -h https://</span> <span class="diffremovedchars" style="background-color: #ffe7e7; text-decoration:line-through;">suma</span> <span class="diffaddedchars" style="background-color:#ddfade;">sumanpk</span> <span class="diffcontext">@bitbucket.org/</span> <span class="diffremovedchars" style="background-color: #ffe7e7; text-decoration:line-through;">suma</span> <span class="diffaddedchars" style="background-color:#ddfade;">sumanpk</span> <span class="diffcontext">/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://</span> <span class="diffremovedchars" style="background-color: #ffe7e7; text-decoration:line-through;">suma</span> <span class="diffaddedchars" style="background-color:#ddfade;">sumanpk</span> <span class="diffcontext">@bitbucket.org/</span> <span class="diffremovedchars" style="background-color: #ffe7e7; text-decoration:line-through;">suma</span> <span class="diffaddedchars" style="background-color:#ddfade;">sumanpk</span> <span class="diffcontext">/bitbucketjenkins01.git" returned status code -1:<br>stdout: <br>stderr: <br>

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web443

  • via Unknown by Federico Naum,
  • Stack trace

    • hudson.plugins.git.GitException: Command "C:\Program Files\Git\bin\git.exe ls-remote -h https://</span> <span class="diffremovedchars" style="background-color: #ffe7e7; text-decoration:line-through;">suma</span> <span class="diffaddedchars" style="background-color:#ddfade;">sumanpk</span> <span class="diffcontext">@bitbucket.org/</span> <span class="diffremovedchars" style="background-color: #ffe7e7; text-decoration:line-through;">suma</span> <span class="diffaddedchars" style="background-color:#ddfade;">sumanpk</span> <span class="diffcontext">/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://</span> <span class="diffremovedchars" style="background-color: #ffe7e7; text-decoration:line-through;">suma</span> <span class="diffaddedchars" style="background-color:#ddfade;">sumanpk</span> <span class="diffcontext">@bitbucket.org/</span> <span class="diffremovedchars" style="background-color: #ffe7e7; text-decoration:line-through;">suma</span> <span class="diffaddedchars" style="background-color:#ddfade;">sumanpk</span> <span class="diffcontext">/bitbucketjenkins01.git" returned status code -1:<br>stdout: <br>stderr: <br> at hudson.plugins.git.GitSCM.compareRemoteRevisionWith(GitSCM.java:574) 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) Caused by: hudson.plugins.git.GitException: Command "C:\Program Files\Git\bin\git.exe ls-remote -h https://</span> <span class="diffremovedchars" style="background-color: #ffe7e7; text-decoration:line-through;">suma</span> <span class="diffaddedchars" style="background-color:#ddfade;">sumanpk</span> <span class="diffcontext">@bitbucket.org/</span> <span class="diffremovedchars" style="background-color: #ffe7e7; text-decoration:line-through;">suma</span> <span class="diffaddedchars" style="background-color:#ddfade;">sumanpk</span> <span class="diffcontext">/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) ... 13 more

    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

    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitor2 times, last one
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    2 more bugmates