Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is Continous Integration on TFS using Bitbucket possible?

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'".

enter image description here

I found 2 possible solutions :

  • Use the generic "git remote repository" with which I struggle a bit and it seems strange that I have to set up different connections just for CI.
  • Use a third party app (i.e. Zapier) to trigger the build. But honestly, why should I add a new layer of maintenance ?

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.

like image 381
Seta Avatar asked Oct 23 '17 10:10

Seta


People also ask

Can I use Git and TFS together?

Introducing git-tfsgit-tfs provides a two-way bridge between a local Git repository and a TFS server. git-tfs allows you to do your local development in a Git repository, and still synchronize your work with a TFS server.

Can you use Azure DevOps with Bitbucket?

Azure DevOps ServicesBitbucket and Azure Pipelines are two independent services that integrate well together.

Is Bitbucket a DevOps tool?

With best-in-class Jira integration, and built-in CI/CD, Bitbucket Cloud is the native Git tool in Atlassian's Open DevOps solution. Join millions of developers who choose to build on Bitbucket.

Which language template's is are supported by Bitbucket pipeline?

We support the top-used languages such as NodeJS, PHP, Java, Python, and . NET Core; however, based on the language configured in your Bitbucket repository, the template list automatically recommends templates in that language.


1 Answers

The reason is that you don’t have the permission to create webhook, using another account that have enough permission instead.

like image 56
starian chen-MSFT Avatar answered Sep 27 '22 23:09

starian chen-MSFT