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

This widget could not be displayed.
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:

https://www.hipchat.com/g0Y9ANOvI

 

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 Sign up to answer
Community showcase
Published Aug 21, 2018 in Bitbucket

Branch Management with Bitbucket

As a project manager, I have discovered that different developers want to bring their previous branching method with them when they join the team. Some developers are used to performing individual wo...

1,205 views 8 11
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