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 a88100a  SLING-7245 - Validate pull requests using Jenkins
a88100a is described below

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

    SLING-7245 - Validate pull requests using Jenkins
    
    Correct archival of Surefire results
---
 vars/slingOsgiBundleBuild.groovy | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/vars/slingOsgiBundleBuild.groovy b/vars/slingOsgiBundleBuild.groovy
index 36cfbb9..ce18e17 100644
--- a/vars/slingOsgiBundleBuild.groovy
+++ b/vars/slingOsgiBundleBuild.groovy
@@ -23,7 +23,9 @@ def call(Map params = [:]) {
 
         post {
             always {
-                junit '**/target/*.xml'
+                dir(moduleDir) {
+                    junit 
'**/target/surefire-reports/*.xml,**/target/failsafe-reports/*.xml'
+                }
             }
         }
     }

Reply via email to