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

Bitbucket Repository-Failed to fetch from bitbucket private repository with user name and password but public is working fine

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Component/s: bitbucket-plugin
    • Labels:
      None
    • Environment:
      bit bucket plugin version -1.1.5, Jenkin-2.25 with windows server 2012
    • Similar Issues:

      Description

      i have created webhook in bitbucket-setting-.webhook

      ---------------------------------------Log Files from jenkin server----------------------------------------------------
      Started on Oct 17, 2016 7:21:19 AM
      Using strategy: Default
      [poll] Last Built Revision: Revision 22610da37c55f1abfaf12cbaece905c55f5fc4ab (refs/remotes/origin/master)
      > C:\Program Files\Git\bin\git.exe ls-remote -h https://sumanpk@bitbucket.org/sumanpk/bitbucketjenkins01.git # timeout=10
      ERROR: Timeout after 10 minutes
      ha:AAAAWB+LCAAAAAAAAP9b85aBtbiIQSmjNKU4P08vOT+vOD8nVc8DzHWtSE4tKMnMz/PLL0ldFVf2c+b/lb5MDAwVRQxSaBqcITRIIQMEMIIUFgAAckCEiWAAAAA=FATAL: 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:
      stdout:
      stderr:
      ha:AAAAWB+LCAAAAAAAAP9b85aBtbiIQSmjNKU4P08vOT+vOD8nVc8DzHWtSE4tKMnMz/PLL0ldFVf2c+b/lb5MDAwVRQxSaBqcITRIIQMEMIIUFgAAckCEiWAAAAA=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:
      stdout:
      stderr:
      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://sumanpk@bitbucket.org/sumanpk/bitbucketjenkins01.git" returned status code -1:
      stdout:
      stderr:
      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
      Done. Took 10 min
      No changes

      ----------------------------UI output------------------------------------------
      Last BitBucket Push

      Started on Oct 17, 2016 7:21:18 AM
      Using strategy: Default
      [poll] Last Built Revision: Revision 22610da37c55f1abfaf12cbaece905c55f5fc4ab (refs/remotes/origin/master)
      using GIT_ASKPASS to set credentials this is bitbucketusername
      > C:\Program Files\Git\bin\git.exe ls-remote -h https://sumanpk@bitbucket.org/sumanpk/bitbucketjenkins01.git # timeout=10
      ERROR: Timeout after 10 minutes
      FATAL: 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:
      stdout:
      stderr:
      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:
      stdout:
      stderr:
      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://sumanpk@bitbucket.org/sumanpk/bitbucketjenkins01.git" returned status code -1:
      stdout:
      stderr:
      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
      Done. Took 10 min
      No changes

        Attachments

          Activity

          There are no comments yet on this issue.

            People

            • Assignee:
              Unassigned
              Reporter:
              sum SM K
            • Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: