Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

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

Atlassian Community Events