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

Bamboo Build should NOT fail if JUnit parser task fail


We are using Bamboo Built in Maven task to compile  java code , run tests  and  Junit Parser to parse the test results as shown below

Stage 1 

             Job 1

                      Maven Task1 

                      Junit Parser1

Stage 2 

              Job 2

                       Maven Task2

                       Junit Parser2


If any test cases fail , Junit task is failing  the entire build.

Is there a way we can make Junit parser NOT to fail the build?

1 answer

Hi @Venkat Pasula ! Welcome to the community!

In fact, I believe this is by design: we should not consider a build as "green" if it has failing tests.

As far as I remember, even without a Junit Parser task, the build would fail because Maven output would have an error code (this is why we always put our Junit Parser tasks as final).

Hope this helps!

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

170 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