Create
cancel
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

Hello,

 

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

 

Thanks

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!

-James

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
TAGS
Community showcase
Published in Bamboo

Bamboo 7.1 is here and is packed with value!

I'm happy to announce that Bamboo 7.1 has been released and it’s overflowing with awesome new features. Top-voted issues First and foremost, a bunch of JAC top voted issues has been delivered - y...

595 views 1 6
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