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: 

Can Bamboo handle different builds for master vs. dev branches?

SGD
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 30, 2014

Our team uses the "git-flow" pattern for branching, but our build strategy for master is different from our build strategy for dev branches. How do you handle this with Bamboo?

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
SGD
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 30, 2014

Lots of teams have certain builds that run against master, and a different set that run on the branches (typically a sub-set of what runs against master). For each build plan in Bamboo, there is an option to automatically apply the build to dev branches–or not. So you can simply enable that for some builds, and disable it for others. You can also set a regex that Bamboo will use to determine whether to apply a build to branches or not. For example, you can have Bamboo apply a build to branches that have "hotfix" in their name, but not branches prefixed with "feature".

TAGS
AUG Leaders

Atlassian Community Events