Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
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

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

Bamboo Data Center 8.1 is now available

G’day Bamboo customers, Bamboo DC 8.1 is now available with it the following features and programs: SAML 2.0, OpenID Connect, and Crowd SSO In order to help admins with a simplified user manage...

204 views 0 4
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