Bamboo Fails a build just beacuse i dont have tests

I have configured a Maven project with goal as Clean package. the Compilation goes on fine and i see build successful message. In the next line , i see a message "Failing task since test cases were expected but none were found."

Is there a way i can get around this

1 answer

This widget could not be displayed.

Check your build specific configuration - there is a place to specify whether or not tests are expected. If you have no test, then change configuration to reflect that so the build does not fail.

Go to your plan: Actions -> Configure Plan -> Default Job -> Tasks

Then if you have a Maven task, look at the bottom where it talks about Test results. Or it may be in another task depending on your plan configuration.

Could you please specify where i can set this --> not to fail build in case of no tests .. i Am new to Bamboo.. trying toexplore this

Did you found an answer?

Go to you job configuration and click edit, at the end of the page, there is a line which says:

Where should Bamboo look for the test result files?

 The box near the option "The build will produce test results." shouldn't be clicked

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in Teamwork

What teamwork quotes inspire you?

Hey everyone! My name is Natalie and I'm an editor of the Atlassian Blog and I've got a question for you: What's your favorite quote about teamwork?  We've compiled a list here, along with...

196 views 18 7
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you