Can you force the build to exit success?


(Gail Stewart) #1

When the unit tests fail, I would still like the build to exit with success so Bamboo will then continue on to record the test results in it’s database.

I could ask as a second question when there will be a gradle plugin for Bamboo. Until there is one, I need to collect the unit tests results into the database with the JUnit plugin.


(Peter Niederwieser) #2

You can do ‘test.ignoreFailures = true’, but it will disguise the problem. Are you saying that Bamboo only records test results when the Gradle process exits with code 0? Is there no way around it?

Gradle CI integration is typically provided by the CI vendors/communities, so you might want to reach out to the Bamboo folks.