-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
Jenkins 2.164.3
io.jenkins.blueocean:blueocean-bitbucket-pipeline:1.16.0
Having a problem configuring our Jenkins to connect to Bitbucket Cloud:
1. Attempt to create a pipeline in Blue Ocean (https://$JENKINS/blue/create-pipeline)
2. Select Bitbucket Cloud, and provide credentials
3. Answer question "Which team does the repository belong to?"
Expected behaviour: repositories from team are returned
Actual behaviour: UI hangs indefinitely saying "Loading..."
In the logs, the following exception is recorded:
WARNING: Failed to get "repositories" from a io.jenkins.blueocean.blueocean_bitbucket_pipeline.BitbucketRepositoryContainer java.lang.reflect.InvocationTargetException ... Caused by: io.jenkins.blueocean.commons.ServiceException: Unknown Status Code at io.jenkins.blueocean.blueocean_bitbucket_pipeline.HttpResponse.getContent(HttpResponse.java:71) at io.jenkins.blueocean.blueocean_bitbucket_pipeline.cloud.BitbucketCloudApi.getRepos(BitbucketCloudApi.java:161) at io.jenkins.blueocean.blueocean_bitbucket_pipeline.BitbucketRepositoryContainer$BitbucketRepositories.<init>(BitbucketRepositoryContainer.java:80) at io.jenkins.blueocean.blueocean_bitbucket_pipeline.BitbucketRepositoryContainer.getRepositories(BitbucketRepositoryContainer.java:41) at io.jenkins.blueocean.commons.stapler.export.MethodProperty.getValue(MethodProperty.java:72) ... 120 more
We're confident that the credentials provided are correct, and we managed to use this method to connect to Bitbucket successfully last week.
i think is repository too much make cannot access, because i tried use other account is work