Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Failed task fails stage

UA UA September 2, 2024

Hey team,

We have below configuration in Bamboo:

Stage 1:

       Task 1 : Build

        Task 2 : Maven test suite 1

        Task 3 : Maven Test suite 2

With above configuration, when test suite 1 fails, I want test suite 2 to still execute as they are independent of each other. However, what I see happening is that when test suite 1 fails, the whole stage fails and it won't execute test suite 2. Any advice would be much appreciated. Thanks

1 answer

1 vote
Shashank Kumar
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 2, 2024

Hello Team,

Welcome to Atlassian community.

Bamboo tasks runs sequentially, so one task fails it will fail the whole Job. 

If you want Test 2 to execute and as you mentioned they are independent of each other, you can move them to different Jobs as Jobs execute in parallel. Refer https://confluence.atlassian.com/bamboo/jobs-and-tasks-289277035.html for more details.

Regards,

Shashank Kumar

**please don't forget to Accept the answer if your query was answered**

 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events