Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Azure deployment source not showing private repository from BitBucket

I have a private repository hosted on BitBucket. On Azure I have created a web app and in the app service I want to set a deployment source to my BitBucket instance.

The authorization was ok, but when I want to select a project, the list shows no results.

What can be the issue here ?

Update: it looks like an authorization issue, because when opening the list of branches using the rest api, i get a forbidden result: https://bitbucket.org/api/1.0/repositories/{org}/{repo}/branches

When the admin of my repo is available I'll ask for admin permission and update this post.

like image 878
Patrick Peters Avatar asked Oct 19 '16 08:10

Patrick Peters


People also ask

How do I access private Bitbucket repository?

A private Git repository on Bitbucket can be accessed using either SSH or HTTPS. The preferred method is to always use SSH and a SSH key pair. Only use HTTPS if you have no choice.

How does Bitbucket connect to Azure DevOps?

To create a password connection, visit Service connections in your Azure DevOps project settings. Create a new Bitbucket service connection and provide the user name and password to connect to your Bitbucket Cloud repository.


1 Answers

It was a permission issue. To have deployment source attached to a BitBucket instance, you need admin rights on the repository.

like image 93
Patrick Peters Avatar answered Sep 29 '22 03:09

Patrick Peters