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

Authentication failed for https://username@bitbucket.org/project/repository.git

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • git-client-plugin
    • None
    • git client plugin 3.6.0

      Getting the following error after updating
      GIT plugin: 1.5.0 > 2.2.5
      GIT client plugin: 1.3.0 > 1.10.1

      ERROR: Error cloning remote repo 'origin'
      hudson.plugins.git.GitException: Command "C:/Progra~2/Git/bin/git.exe fetch --tags --progress https://username@bitbucket.org/project/repository.git +refs/heads/:refs/remotes/origin/" returned status code 128:
      stdout:
      stderr: fatal: Authentication failed for 'https://username@bitbucket.org/project/repository.git/'

      at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1407)
      at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1195)
      at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$200(CliGitAPIImpl.java:87)
      at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:266)
      at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$2.execute(CliGitAPIImpl.java:422)
      at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:857)
      at hudson.plugins.git.GitSCM.checkout(GitSCM.java:890)
      at org.jenkinsci.plugins.multiplescms.MultiSCM.checkout(MultiSCM.java:118)
      at hudson.model.AbstractProject.checkout(AbstractProject.java:1255)
      at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:624)
      at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
      at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:530)
      at hudson.model.Run.execute(Run.java:1740)
      at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      at hudson.model.ResourceController.execute(ResourceController.java:88)
      at hudson.model.Executor.run(Executor.java:233)

          [JENKINS-24368] Authentication failed for https://username@bitbucket.org/project/repository.git

          Flavio Donzé created issue -
          Mark Waite made changes -
          Component/s Original: git [ 15543 ]
          Mark Waite made changes -
          Link New: This issue is related to JENKINS-22694 [ JENKINS-22694 ]
          Mark Waite made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          Mark Waite made changes -
          Status Original: Resolved [ 5 ] New: Closed [ 6 ]
          Mark Waite made changes -
          Resolution Original: Fixed [ 1 ]
          Status Original: Closed [ 6 ] New: Reopened [ 4 ]
          Mark Waite made changes -
          Status Original: Reopened [ 4 ] New: Open [ 1 ]
          Mark Waite made changes -
          Link New: This issue is duplicated by JENKINS-26757 [ JENKINS-26757 ]
          Mark Waite made changes -
          Link New: This issue is related to JENKINS-22119 [ JENKINS-22119 ]
          Mark Waite made changes -
          Link New: This issue is duplicated by JENKINS-28460 [ JENKINS-28460 ]
          Mark Waite made changes -
          Assignee Original: Nicolas De Loof [ ndeloof ] New: Mark Waite [ markewaite ]

            Unassigned Unassigned
            flaviodonze Flavio Donzé
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: