Are you in the loop? Keep up with the latest by making sure you're subscribed to Community Announcements. Just click Watch and select Articles.

Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


Required Build settings for Teamcity

I want to set up my bitbucket PRs to only be able to be merged when a certain build completes on my teamcity build server.  There is a "Required Builds" option on the repo but I don't know what value to put into the "Add Builds" section of the form.  The documentation says:


Add any build keys here that will need to successfully pass before merging a pull request. The build key will depend on the CI tool used to generate the build.


But I don't know what the build key is for a build in teamcity.  I tried the name and the id but neither work. 



2 answers

Hello, I was able to figure this out by using `buildTypeId` URL param value from the TeamCity build URL. You can grab the TeamCity build URL from a Pull Request's build tab.


/viewLog.html?buildId=0000&buildTypeId=<use this value for the build name>

Hi there, have you managed to resolve this issue? I have exactly the same question..

Have just found a workaround: you can just configure "Commit status publisher" build feature in TC and then just set "minimum successful builds"  in "merge-checks" section in Bitbucket.

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events