Allow empty JUnit results so a test failure does not become a build fail

This commit is contained in:
Arjen Hiemstra 2017-03-14 17:15:18 +01:00
parent 6a28368beb
commit 1d008bdfc2

2
Jenkinsfile vendored
View File

@ -32,7 +32,7 @@ parallel_nodes(['linux && cura', 'windows && cura']) {
// Perform any post-build actions like notification and publishing of unit tests.
stage('Finalize') {
// Publish the test results to Jenkins.
junit 'build/junit*.xml'
junit allowEmptyResults: true, testResults: 'build/junit*.xml'
notify_build_result(env.CURA_EMAIL_RECIPIENTS, '#cura-dev', ['master', '2.'])
}