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

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

,
via jenkins-ci.org by Unknown author

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 Jenkins JIRA by Flavio Donzé, 1 year ago
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/'
via Jenkins JIRA by Flavio Donzé, 1 year ago
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/'
via Jenkins JIRA by yavor vrachev, 1 year ago
Command "C:\Program Files (x86)\Git\cmd\git.exe fetch --tags --progress git@bitbucket.org:test/test.git +refs/heads/*:refs/remotes/origin/*" returned status code -1: stdout: stderr:
via Jenkins JIRA by OHTAKE Tomohiro, 1 year ago
Command "git fetch --tags --progress https://example.com/example.git +refs/heads/*:refs/remotes/origin/*" returned status code 128: stdout: stderr: fatal: unable to access 'https://example.com/example.git': Received HTTP code 407 from proxy after CONNECT
via Jenkins JIRA by yavor vrachev, 1 year ago
Command "C:\Program Files (x86)\Git\cmd\git.exe fetch --tags --progress git@bitbucket.org:test/test.git +refs/heads/*:refs/remotes/origin/*" returned status code -1: stdout: stderr:
via Jenkins JIRA by OHTAKE Tomohiro, 1 year ago
Command "git fetch --tags --progress https://example.com/example.git +refs/heads/*:refs/remotes/origin/*" returned status code 128: stdout: stderr: fatal: unable to access 'https://example.com/example.git': Received HTTP code 407 from proxy after CONNECT
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 org.jenkinsci.plugins.multiplescms.MultiSCM.checkout(MultiSCM.java:118)
at hudson.model.AbstractProject.checkout(AbstractProject.java:1255)
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)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 months ago
Once, 1 week ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
2 times, 1 year ago
4 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.