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

Skip JUnit if no tests found



I have a JUnit parse step, which awaits for test results, but according to build script configuration the tests are not always generated.

Is there possibility to not fail build, if there are no tests?

As I know other other famous CI/CD tools provide such option "don't fail build if there are no test results".



1 answer

0 votes
Jimmy Seddon Community Leader Jul 24, 2019

Hi @Sentinel ,

Out of the box I don't think there is an option that will allow this. 

At the same time, could you please provide a little more detail as to why tests aren't being generated?  Is it possible that your developers changes the location of the test results output without telling you?  It might be a simple as needing to change the directory you are looking for results in.

Just a thought.

I hope that helps!


Hi @Jimmy Seddon ,

We have implemented some code, according to which build script will decide to execute tests or no and generate reports.

Current build configuration with JUnit Parses awaits, that test results are available everytime.

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

145 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