Trigger branch Build on master update

toddpi314 January 28, 2015

We have an 'integration' branch that we would like to build when our 'master' (default) branch is committed to.

So far, we are unable to find a way to do this based on event notifications.

We have to use the scheduled build, which isn't smart enough to disable when there are no code changes. This ends up bloating the build archives with functionally identical artifacts.

Is this possible? 

1 answer

0 votes
Marcin Gardias
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 11, 2015

It is possible with a trick.

Since only the first repository is overriden by Plan Branches in Bamboo, you can create a copy of your repository with branch set to master and use a trigger that will check both repositories. On Plan Branch, the trigger will then check both "integration" branch and "master" because one copy will be overridden and one will be not.

What's not so nice about it, is that on master branch you'll get duplicates of all the commits, other than that it should work fine.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events