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

How do I configure the build strategy to only build a specific branch?

Dan Thagard July 3, 2012

I've a plan configured that contains multiple branches within it. I would like to create a build strategy that automatically builds the appropriate branch when a change is detected in the repo for that specific branch. How do I go about doing this?

1 answer

1 accepted

2 votes
Answer accepted
Przemek Bruski
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 3, 2012

That should work out of the box. Just set the startegy to polling for changes.

Dan Thagard July 4, 2012

That's what I have configured now, but I wasn't really clear on what would occur. On the default plan, I've got all of the branch repos selected for the polling build strategy. I guess my question is: will the plan build all of the branches when a change is detected in any of the repos or will it just build for the branch that corresponds to the repo with the change?

Przemek Bruski
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 4, 2012

It should only build the affected branch.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events