Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

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

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".

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events