-
Bug
-
Resolution: Not A Defect
-
Critical
-
Jenkins 2.363
Bitbucket Server Integration 3.2.2
New install of Jenkins, installed the current plugin release, configured the Bitbucket Server instance with a new Personal Access Token. Clicked on Test Connection and got a positive response, as expected.
Go to create a job, configure Pipeline, choose Bitbucket Server as the SCM and no Credentials are listed in the dropdown. No bother I thinks - and click Add to create again. Enter the PAT, give it a description of XYZ123, click Add, popup disappears and there's still no entry in the Credentials dropdown. So I can't continue with pipeline configuration.
Go back to the main configuration, and the Credentials dropdown now contains an entry for XYZ123, but the one for the pipeline never shows any, no matter what I've tried.
Tried in multiple browsers - no difference. Monitoring with browser dev tools shows a 200 response to the addCredentials POST call. The subsequent call to fillCredentialsIdItems returns with a 200 but has no values in the returned StandardListBoxModel.
Hello schurchill
Thank you for reporting this. I was unable to reproduce this issue. Can you confirm what credential type you're adding? You say "PAT" is that a "Bitbucket personal access token"? If so that one is only available when you configure your Bitbucket instance and is not available at the job level. Instead you need to use either SSH or a normal "Username with password" type. You can still use an access token as the password when using the "Username with password" credential type.