Hi, I have a question about configuring Jenkins to access Bitbucket Cloud with 2FA(Two Step Verification).
When I applied 2FA to our workspace using Access controls, Jenkins couldn't access the workspace.
What should I do in this case?
Thanks in advance!
Hi @Aiden_han and welcome to the community!
How is authentication for Bitbucket Cloud configured in Jenkins? Are you using the credentials of a Bitbucket account that has access to your workspace's repos?
If so, and if "Require two-step verification" is enabled for a workspace, then 2FA needs to be configured for the Bitbucket account that is used in Jenkins.
If the configuration in Jenkins allows it, you could also look into using a workspace access token instead:
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.