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: 

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

Dan Thagard
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

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
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
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.

TAGS
AUG Leaders

Atlassian Community Events