How does one mute gradle tests?

We have switched from Ant to gradle for our builds. Previously, when we would mute a test, the build would continue to be successful. Now when we mute the build continues to fail due to gradle exiting with a non zero exit code.

1. I would have thought that TeamCity would have handled this gracefully, so maybe I've misconfigured something?

2. Do I have to manually tell gradle that it should ignore failures for all test runs?
For example:

test {
ignoreFailures = true
}

Is there something else I need to do?

0

Please sign in to leave a comment.