Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,364,806
Community Members
 
Community Events
168
Community Groups

How to run second Stage in case of first Stage fails?

Hello!

I have a bamboo build with 2 stages: 1st Stage and 2nd Stage. How can I run manually 2nd Stage in case of 1st Stage failed?




Atlassian Bamboo version 7.1.4 build 70122 - 03 Nov 20

1 answer

1 accepted

2 votes
Answer accepted

Hello,

In case you have two independent process which should be executed regardless of status of another one, then put your tasks into different Jobs inside one Stage

In case you need to run tasks sequentially then put them to Stages, then Stage 2 will be executed after success of Stage 1

It's possible to mark Stage as Final, then Bamboo will trigger it regardless of status of previous stages. It's useful if you want to cleanup resources generated or taken by previous Stages

Thanks for different ways!

>In case you need to run tasks sequentially then put them to Stages, then Stage 2 will be executed after success of Stage 1

Does it mean that the only way to run Stage 2 sequentially it's successful Stage 1?

Yes if Stage 2 is regular stage.

If it's Final stage, then it will be executed after success or failure of Stage 1

Like Steffen Opel _Utoolity_ likes this

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events