Latest guidance on building BitBucket pull requests in TeamCity

What is the latest guidance on setting up TeamCity to build BitBucket pull requests, particularly in regard to using TeamCity 2017.1 with BitBucket Cloud? Most of the posts I've seen focus on older versions of TeamCity or Stash.

I really want to be able to trigger a build when the PR is created of the merged output; I can then use the Commit Status Publisher to send those results back to BitBucket so that TeamCity can approve the PR (in terms of code compiling, tests passing, no FxCop violations etc).

1 answer

1 accepted

0 votes
Eric Henry Atlassian Team Jul 11, 2017

Sorry for the delay in response. Is your TeamCity install behind a firewall?

Typically we use webhooks and the Bitbucket API to enable this. I can help you get going if you haven't figured things out already. Feel free to jump in to this HipChat room to ask questions:


So, is there some documentation how to integrate BitBucket with TeamCity?
The chat room mentioned above appears to be empty.

Eric Henry Atlassian Team Aug 10, 2017

The HipChat room won't show any back history, and devs are usually in the room during Pacific Timezone business hours.

As far as documentation, there is more information in this community question.

Suggest an answer

Log in or Join to answer
Community showcase
Piotr Plewa
Published Dec 27, 2017 in Bitbucket

Recipe: Deploying AWS Lambda functions with Bitbucket Pipelines

Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda&nbsp...

638 views 0 4
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot