Create a specific plan for a specific git branch

Is there a way to create a specific plan for a specific branch?

I tried cloning a plan (to modify it) but the cloned plan won't let me specify a branch to run against.

I created a branch plan but there is no option to change the plan for that branch.

I want the plan for this branch to include a different task than what the main branch 'master' has.

1 answer

0 vote

You can create plans against a specific branch but it is configured at the repository level. When you create the repository in Bamboo, you pick up the appropriate branch and then you use that repository in the new build plan.

Branch plans will follow the same tasks as that of the master plan and so it won't work.

So it sounds like you're saying there isn't a way to do what I'm asking? 

I looked in the UI again and I can't find a way to create a new plan for a new branch off an existing repository.

I added the repository a second time, called it something else and specified the branch to use in the add repository dialog.

I think this will work. Now I can refer to that linked repo name that has my branch instead of the master or develop branch.

Yes, that is what I meant. You need to pick the repo branch when creating the repo it self. Looks like you have it working now. 

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published May 18, 2017 in Bamboo

FAQ: How to Upgrade Bamboo Server

Bamboo 5.9 will no longer be supported after June 12, 2017. What does this mean? As part of our End of Life policy, Atlassian supports major versions for two years after the first major iteratio...

1,786 views 0 6
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you