Reputation: 93
I'm trying to set up a CI build on TFS Online. I'm pretty much used to it using the tfs git repository. The actual team I'm working with however uses Bitbucket. So I started by setting up a build linked to Bitbucket, which worked flawlessly.
However, activating CI seemed to trigger an error from Bitbucket when I save my settings : "Bitbucket returned the error : 'Forbidden'".
I found 2 possible solutions :
Any help or suggestion would be welcome.
Thank you !
Quick follow up on this issue : I contacted Microsoft about it and it seems CI does work on Bitbucket repositories if they are public. Support will escalade and we'll see what's the source of the problem.
Upvotes: 7
Views: 2645
Reputation: 33728
The reason is that you don’t have the permission to create webhook, using another account that have enough permission instead.
Upvotes: 5
Reputation: 93
As said by starain-MSFT, I did not have the rights to create a web hook on Bitbucket. Check if you can see the "settings" on the repository. If not, that's the reason. Just make sure you have enough rights.
Upvotes: 0