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/'

Jenkins JIRA | Flavio Donzé | 2 years ago
  1. 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 JIRA | 2 years ago | Flavio Donzé
    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/'
  2. 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 JIRA | 2 years ago | Flavio Donzé
    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/'
  3. 0

    [JIRA] [git-client-plugin] (JENKINS-24368) Authentication failed for https://username@bitbucket.org/project/repository.git

    Google Groups | 1 year ago | mark.earl.waite@gmail.com (JIRA)
    hudson.plugins.git.GitException: Command &quot;C:/Progra~2/Git/bin/git.exe -c core.askpass=true fetch --tags --progress <a href="https://username@bitbucket.org/project/repository.git" class="external-link" rel="nofollow" style="color: #3b73af; text-decoration: none">https://username@bitbucket.org/project/repository.git</a> +refs/heads/<b>:refs/remotes/origin/</b>&quot; returned status code 128: stdout: stderr: fatal: Authentication failed for 'https://scodi@bitbucket.org/scodi/tools.git/'</p> <p style="margin: 10px 0 0 0"> at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1605)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Does not clone repositories when `.git` is at the end (404)

    GitHub | 2 years ago | lwhiteley
    hudson.plugins.git.GitException: Failed to connect to https://github.com/medullan/mean.git/ (status = 404)
  6. 0

    Jenkins git plugin does not allow parameter on repository URL

    Stack Overflow | 2 years ago | user2631836
    hudson.plugins.git.GitException: Command "git fetch --tags --progress ssh://git@myrepo/java/login.git +refs/heads/*:refs/remotes/origin/* --depth=1" returned status code 128: stdout: stderr: Permission denied, please try again. Permission denied, please try again. Permission denied (publickey,password). fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists.

    1 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. 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()
    2. org.jenkinsci.plugins
      CliGitAPIImpl$2.execute
      1. org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1407)
      2. org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1195)
      3. org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$200(CliGitAPIImpl.java:87)
      4. org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:266)
      5. org.jenkinsci.plugins.gitclient.CliGitAPIImpl$2.execute(CliGitAPIImpl.java:422)
      5 frames
    3. Hudson GIT plugin
      GitSCM.checkout
      1. hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:857)
      2. hudson.plugins.git.GitSCM.checkout(GitSCM.java:890)
      2 frames
    4. org.jenkinsci.plugins
      MultiSCM.checkout
      1. org.jenkinsci.plugins.multiplescms.MultiSCM.checkout(MultiSCM.java:118)
      1 frame
    5. Hudson
      AbstractBuild$AbstractBuildExecution.defaultCheckout
      1. hudson.model.AbstractProject.checkout(AbstractProject.java:1255)
      2. hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:624)
      2 frames
    6. jenkins.scm
      SCMCheckoutStrategy.checkout
      1. jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
      1 frame
    7. Hudson
      Executor.run
      1. hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:530)
      2. hudson.model.Run.execute(Run.java:1740)
      3. hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      4. hudson.model.ResourceController.execute(ResourceController.java:88)
      5. hudson.model.Executor.run(Executor.java:233)
      5 frames