Trigger bamboo when pull request is submitted.

I would like to run build in bamboo(on master branch) when some branch was merged into master branch. I need it for uploading new artifacts into Nexus. I know that exists webhooks for these trigger but this is little bit dificult. We have Jira, Bitbucket and Bamboo and everything is linked. Exists better way for this trigger (after merge to master)?

Thank you for help

Like Be the first to like this

2 answers

1 accepted

Answer accepted Community Leader Community Leader

Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.

April 15, 2019 edited

If I understand correctly you want a build to run only for the master branch when a pull request has been merged.

Do you allow changes to be made to the master branch if they don't come from a pull request?

I ask because you could make a clone of your current build plan that only watches for changes to the master branch and then builds and saves the artifacts whenever the master branch alone is updated.