From 1d008bdfc2dbe28d46e4f8b47d43d79770026334 Mon Sep 17 00:00:00 2001 From: Arjen Hiemstra Date: Tue, 14 Mar 2017 17:15:18 +0100 Subject: [PATCH] Allow empty JUnit results so a test failure does not become a build fail --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index a324a79471..a056b5e115 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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.']) }