You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by zr...@apache.org on 2018/02/20 08:46:10 UTC

[camel] 02/03: CAMEL-11930: don't fail if no JUnit results found

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

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

commit 41b45689505dcd5437a3632bf27800b91aeaa104
Author: Zoran Regvart <zr...@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 755467f..03a61ba 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
zregvart@apache.org.