Failed to connect to repository : Command "git ls-remote -h -- https://***********@bitbucket.org/*****/repo-name.git HEAD" returned status code 128:
stdout:
stderr: remote: Login failed due to incorrect login credentials or method.
remote: If you are unsure of which login details or login method to use, visit:
remote: https://support.atlassian.com/bitbucket-cloud/docs/log-into-or-connect-to-bitbucket-cloud/
fatal: Authentication failed for 'https://bitbucket.org/workspace-id/repo-name.git/'
When try to connect bitbucket url with jenkins getting this error
What kind of authentication are you using? Are you using the credentials of a Bitbucket user?
If so, please keep in mind that we have deprecated the use of account passwords for Git operations via HTTPS. In case you are using username+password, you will need to generate an app password and use that instead of a password (in combination with the account's username):
Please make sure that the account you are using for authentication has access to this specific repo.
Feel free to let me know how it goes or if you use a different method of authentication.
Just a heads up, I removed the workspace-id and repo name from the URLs in your post to protect your privacy.
Kind regards,
Theodora
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.