Hi Team,
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.
Regards