Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
badges earned

Your Points Tracker
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Bitbucket stopped respoding to jenkins request Edited

Hello everybody.. I am currently making a Jenknis server and I am having trouble connecting to bitbucket. As i'm developing a jenkinsfile i made multiple commits that triggered a hook in Bitbucket and jenkins was able to download the source files and run the job.. due to some additional steps i had to play with credentials. So this is the problem.

When I try to connect to a bitbucket repo in order to download the Jenkinsfile(from the configuration window of the Jenkins job) i could no longer establish connection with the same credentials i used to before. the error is this(from jenkins job 'pipeline script from SCM' field):

Failed to connect to repository : Command "git ls-remote -h -- HEAD" returned status code 128:
stderr: fatal: Authentication failed for '

And i can still successfully login to bitbucket with the same credentials.. when the job is triggered by the web hook(bitbucket ----> Jenkins: HTTP response 200 .. alll good) but when jenkins try to checkout the Jenkinsfile and project, i see no information regarding the commit message and the job fails with the following error: 

ERROR: Error cloning remote repo 'origin'
hudson.plugins.git.GitException: Command "git fetch --tags --force --progress -- +refs/heads/*:refs/remotes/origin/*" returned status code 128:
stderr: fatal: Authentication failed for ''

	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$500(
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$2.execute(
	at hudson.plugins.git.GitSCM.retrieveChanges(
	at hudson.plugins.git.GitSCM.checkout(
	at org.jenkinsci.plugins.workflow.steps.scm.SCMStep.checkout(
	at org.jenkinsci.plugins.workflow.cps.CpsScmFlowDefinition.create(
	at org.jenkinsci.plugins.workflow.cps.CpsScmFlowDefinition.create(
	at hudson.model.ResourceController.execute(
ERROR: Error cloning remote repo 'origin'
ERROR: Maximum checkout retry attempts reached, aborting
Finished: FAILURE

 And this used to work before... i wonder if there is some security reasons for the bitbucket to deny my access with a valid credentials


0 answers

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bitbucket

New improvements to user management in Bitbucket Cloud 👥

Hey Community! We’re willing to wager that quite a few of you not only use Bitbucket, but administer it too. Our team is excited to share that we’ll be releasing improvements throughout this month of...

523 views 4 13
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you