The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

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.

TAGS
AUG Leaders

Atlassian Community Events