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 votes

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
Community showcase
Published Wednesday in Jira

Make your Atlassian Cloud products more secure: our NEW admin security guide

Hey admins! I’m Dave, Principal Product Manager here at Atlassian working on our cloud platform and security products. Cloud security is a moving target. As you adopt more products, employees consta...

46 views 0 2
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