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 824ae931a9a9492e284de7f2da2cc86ea52d8b0c
Author: Zoran Regvart <zregv...@apache.org>
AuthorDate: Mon Feb 19 12:35:26 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..80d9b57 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, testResults: 
'**/target/surefire-reports/*.xml'
+                    junit allowEmptyResults: true, testResults: 
'**/target/failsafe-reports/*.xml'
                 }
             }
         }

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

Reply via email to