You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
Anyone have any success setting up Azure DevOps pipeline to connect to BitBucket Cloud?
We can get it connected to see list of repos using grant access or basic auth with app password but once you select a particular repo it fails with:
Unable to get the path contents from the Bitbucket repository 'workspace/reponame' for the branch or source version 'master' and path ''. It is possible the specified path is a file. Error from Bitbucket: Forbidden
Permissions are set correctly.
Also tried to use oauth consumer but was unable to find the proper callback url for azure devops anywhere on the net.
I know this may be Azure DevOps issue but since it's to use BitBucket Cloud I wanted to post here in case someone else has hit this same issue before.
We are facing the same issue.
I had to set-up pipelines for two repositories.
For the first one, no issue at all.
For the second one, I had the same error message.
I found one comment on another thread :
Please add a Note to suggest not adding big binary... (atlassian.com)
It seems to be linked with the fact the repository contains binary files, making the scan impossible.
Already tried the following workaround; create the pipeline with Azure DevOps REST API. But bitbucket pipeline are not supported with this approach.
The last solution is to change repository host service (to a concurrent one...)
Yes, we have these working, with both OAuth2 (grant) and Basic (app password).
I have tried to reproduce your error.
It seems ADO is handling everything correctly. We can go through how you create your Service Connection in more detail, if you like? And check how you've set up your repository and pipeline. Can you post the steps you go through for creating a Service Connection to a BitBucket Cloud repository?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.