This is an automated email from the ASF dual-hosted git repository.

zregvart pushed a commit to branch jenkins-pipeline
in repository https://gitbox.apache.org/repos/asf/camel.git

commit 800b47e8105e91217743451049e95e43d171320f
Author: Zoran Regvart <zregv...@apache.org>
AuthorDate: Mon Feb 19 12:33:01 2018 +0100

    CAMEL-11930: don't fail if no JUnit results found
    
    Allowed JUnit test result archiver to proceed even if no test reports
    were created (i.e. if no modules have been changed and they were all
    skipped).
---
 Jenkinsfile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index 36f92dd..ed79991 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -60,8 +60,8 @@ pipeline {
             }
             post {
                 always {
-                    junit '**/target/surefire-reports/*.xml'
-                    junit '**/target/failsafe-reports/*.xml'
+                    junit allowEmptyResults: true, 
'**/target/surefire-reports/*.xml'
+                    junit allowEmptyResults: true, 
'**/target/failsafe-reports/*.xml'
                 }
             }
         }

-- 
To stop receiving notification emails like this one, please contact
zregv...@apache.org.

Reply via email to