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 rebuild only unsuccessful stages not the Successful Stages?

Edited

My build contains some 10 stages and each stage takes like 10 minutes on average (its our Acceptance Suite), so when the build fails i want to re-build only unsuccessful stages, not all successful stages because we have to wait long time for other successful stages. 

 

and we are using BambooSpecs, configuration as Code

1 answer

Bamboo supports manually Rerunning a failed stage as follows:

 

If a stage has failed in your build, you can choose to rerun the stage (with exactly the same data) instead of the entire plan.

To rerun a stage:

  1. Navigate to the failed build result, as described on Viewing a build result.
  2. Choose Run > Rerun all failed Jobs to run the stage again.

Note that:

  • Only failing jobs will be re-run.
  • Subsequent stages will be executed automatically, unless they are manual stages.
  • You might want to add a comment to the build result to record the reason for failure. The existing build result will be overwritten (Bamboo will not create a new build) and the previous failure reason will not be retained.
  • For plans based on a Subversion repository, you can only rerun the failed job or the whole plan.

Screenshot: Rerunning a failed stage

 

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...

167 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