You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
I have a usecase wherein I want to trigger pull-request build only for few target branches (like master and TEST). Post exploring many options I came across "Required Build" section in Bitbucket. I selected "Select protected target branches" but facing issue for "Add builds".
I am not getting which "build key" i need to add so that whenever pull request have required target branch, it will trigger pull-request build. My pull-request build is set up on enterprise cloud bees Jenkins with path something similar to -<jenkins_instance_url>/job/REG/job/123456/job/COM/job/123456.test.req.build.bitbucket/
For Bitbucket to Jenkins connectivity, i am using "Webhook to Jenkins for Bitbucket Server" which is using "Git plugin".
Please help me to understand which build key i should use here.
Thanks in advance for help.
Build key is the name of the job (no need for full path)
Make sure you are using "Bitbucket Server Integration" plugin
"To use required builds, you must have Bamboo 7.1+ or the Bitbucket Server Integration Plugin version 2.0.0+"
See also here: