Hi,
I'm trying to trigger a build on a specific branch using a Bamboo DC API call from Jira Cloud. I'm sending a request like this:http://foo.com/rest/api/latest/queue/SUW-PET?bamboo.branchName={{pullRequest.sourceBranch}}
However, instead of starting the build on the desired branch, it starts the build on the master branch.
Could you please help me understand how to trigger a build on a specific branch?
Thank you in advance!
Hi @Dzmitry Mandryk ,
you need to define a plan that works on that specific branch and you need to call rest api to start build for that specific plan.
Hope this clarifies,
Fabio
It looks like you're new here. Sign in or register to get started.