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

rombert pushed a commit to branch feature/SLING-7245
in repository https://gitbox.apache.org/repos/asf/sling-tooling-jenkins.git


The following commit(s) were added to refs/heads/feature/SLING-7245 by this 
push:
     new e2599b5  SLING-7245 - Validate pull requests using Jenkins
e2599b5 is described below

commit e2599b5307b0c7416145930f1343671528b00508
Author: Robert Munteanu <[email protected]>
AuthorDate: Tue Dec 18 00:06:06 2018 +0100

    SLING-7245 - Validate pull requests using Jenkins
    
    Don't fail on missing JUnit results
---
 vars/slingOsgiBundleBuild.groovy | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/vars/slingOsgiBundleBuild.groovy b/vars/slingOsgiBundleBuild.groovy
index 39e6b54..5a0721a 100644
--- a/vars/slingOsgiBundleBuild.groovy
+++ b/vars/slingOsgiBundleBuild.groovy
@@ -29,7 +29,7 @@ def call(Map params = [:]) {
         post {
             always {
                 dir(moduleDir) {
-                    junit 
'**/target/surefire-reports/*.xml,**/target/failsafe-reports/*.xml'
+                    junit allowEmptyResults: true, testResults: 
'**/target/surefire-reports/*.xml,**/target/failsafe-reports/*.xml'
                 }
             }
         }

Reply via email to