Bamboo Branches

I want to be able to build all of my three different environments (dev, staging and production). I'm not sure if I should be setting up three different plans or use branches. All three deployments are virtually the same with a few differences. The production build and deploy has a couple of extra steps in it that the other two don't have.

Each environment directly corresponds to a branch in our Mercurial repo. They would also trigger completely differently. I see that in the branching part of Bamboo I have the ability to change when each triggers but do I have the ability to disable tasks for a specific branch?

Our production plan should only ever get triggered manually. Part of my problem with the branching approach is that it seems really hard to tell what branch my plan is running for and I'd be really scared to go to manually build and deploy to dev and accidentally have it do the same to production.

Am I looking at this correctly? I imagine I am missing some fundamental ideas.

2 answers

1 accepted

Accepted Answer
0 votes

I don't think branches is what you want. The "virtually the same with a few differences" makes using branches very difficult. If I understanding Bamboo branching correctly, the branches do the exact same work as the default branch except that it gets its source code from a different location. So if you need to add different flags, extra steps, etc. then you're out of luck with branches.

Also, when you look at a project it only shows the status of the default branch and you have to dig deeper to see the status of the other branches. So if you want people to see the status of dev, staging, and production builds from the project page, you don't want to use branches.

hi

I am loking a bamboo leaves branches original 205 or 3 meter long.could u please guide me where I found original bamboo leaves and about proce u know .

 

 

your wuick reply is highly appreciated,

 

with regards

Eng Ibrahim Khalid Mir

ibrahimkmir@gmail.com

kingdom of Saudi arabia

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Monday in Jira Ops

Jira Ops Early Access Program Update #1: Announcing our next feature and a new integration

Thanks for signing up for Jira Ops! I’m Matt Ryall, leader for the Jira Ops product team at Atlassian. Since this is a brand new product, we’ll be delivering improvements quickly and sharing updates...

307 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