We are using Bitbucket Source Plugin installed on my Jenkins instance and created Multi Branch Configurations.
Configured as per the documentation.
Step 1 : Configured or enabled Webhooks in manage jenkins
Step 2: created multi branch pipeline job and add bitbucket source.
Step 3: add credentials(Apppassword) which created under bitbucket
Step 4: Added owner(username) then pressed tab which is unable to load repositories and throwing 500 internale error.
Exception from jenkins logs:
Aug 21, 2023 5:43:44 AM SEVERE com.cloudbees.jenkins.plugins.bitbucket.BitbucketSCMSource$DescriptorImpl doFillRepositoryItems
Error while loading repositories from cache java.io.FileNotFoundException: URL: https://api.bitbucket.org/2.0/repositories/bharathtbr?role=contributor&page=1&pagelen=100 at com.cloudbees.jenkins.plugins.bitbucket.client.BitbucketCloudApiClient.getRequestAsInputStream(BitbucketCloudApiClient.java:947) at com.cloudbees.jenkins.plugins.bitbucket.client.BitbucketCloudApiClient.getRequest(BitbucketCloudApiClient.java:967) at com.cloudbees.jenkins.plugins.bitbucket.client.BitbucketCloudApiClient.lambda$getRepositories$3(BitbucketCloudApiClient.java:809) at com.cloudbees.jenkins.plugins.bitbucket.client.BitbucketCloudApiClient.getRepositories(BitbucketCloudApiClient.java:825)
Hi @Chaitanya Chennareddygari , did you sort out your issue?
if so, could you please share what you have done to get it sorted?
I have same behaviour in my Jenkins server.
Hi Chaitanya,
Welcome to the Atlassian Community! My name is Norbert and it's nice to meet with you.
Looking at this behavior it seems that your Jenkins instance is rejecting the changes and it replies with a HTTP 500 error.
Unfortunately we at Atlassian are not familiar with Jenkins or its plugins as it wasn't developed by us. As a suggestion I'd like to recommend you to reach out to Jenkins Support for this behavior.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.