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 make bamboo tasks one dependent on the other, if one goes wrong, the next one doesn't execut



Basically I have 4 or 5 tasks, which need to connect to the repository, build, test on virtual android and upload to Nexus Oss, I need to leave it in a way that if one task gives an error, the others shouldn't start. In the documentation it says: "The build tasks will run sequentially in the order specified in the job. If a build task fails, all subsequent tests will not run." But that didn't happen, everything turned green, even one of the first ones went wrong. Thank you, I await a return...

Captura de tela de 2021-11-05 10-11-54.pngCaptura de tela de 2021-11-05 10-15-50.png


1 answer

1 accepted

2 votes
Answer accepted

Hello @Demétrius Egídio,

Welcome to Atlassian Community!

As per your screenshot, you are running multiple Jobs within the same Stage in Bamboo. Jobs will run in parallel and will not consider the results of their sibling jobs.

To instruct a Plan to stop upon a failed Job, you need to assign each Job to distinct Stages.

Stages group (or map) jobs to individual steps within a plan's build process. For example, you may have an overall build process plan that comprises a compilation step, followed by several test steps, followed by a deployment step. You can create separate Bamboo stages to represent each of these steps.

Whenever one of the Stages fail, the next upcoming Stage will not be triggered.

Here is a graphical representation of how projects in Bamboo contain plans, plans contain stages, stages contain jobs and jobs contain tasks:

More information here: 



Eduardo Alvarenga
Atlassian Support - APAC

Suggest an answer

Log in or Sign up to answer
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...

198 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