It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Multiple Stages and Deployment need to happen in between stages

Arun Duraisamy Aug 04, 2018

Hi 

How to achieve the following use case with in Single plan.

Plan >>

           (Master branch) Stage 1 >> Deployment (Env Master ) >> Stage 2 >> Stage 3 

           (Feature branch) Stage 1 >> Deployment (Env Feature )>> Stage 2 >> Stage 3 

 

Thanks

Arun 

1 answer

0 votes
Daniel Santos Atlassian Team Aug 16, 2018

Hi @Arun Duraisamy,


This configuration can be achieved in a Bamboo Deployment, but it is not automatic. Any environment can run separatedly and build an specific branch configured in your environment trigger. This is what you can do:

  1. Create the env master
  2. Add a trigger (After successful build plan or other) for the master branch as described here:
  3. Create the env feature
  4. Add the trigger for the feature branch as shared here: Deployments from branches - Atlassian Documentation .

If you want a different feature branch to trigger a deployment you will need to add another trigger for that branch.

Usually, environments are not defined per branch, but per virtual/physical environment where you want to deploy your code (e.g. QA, Production, etc). Multiple iterations of the application development and testing could be handled by your plan and the deployment ideally would handle the release candidates and releases or any bugfix that needs to be also released to the end user. That would not happen for all your feature branches, but for specific branches where you need to fix something and deploy.

There is a similar thread about this in this community post: Branch usage in deployment project. There you can find also a feature request that intends add the automatic deployment handing per branch. Please add your comments there and vote o that issue if that represents your needs.

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Opsgenie

Handling Opsgenie Alerts

Hi everyone, welcome to the kb articles for Opsgenie FAQs. I'm one of the Technical Support Engineers for Opsgenie who will be providing weekly posts on FAQs from customers.   All alerts are ...

72 views 0 3
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you