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 55daf7f SLING-7245 - Validate pull requests using Jenkins
55daf7f is described below
commit 55daf7f276f634038b6a2437efde685b16e4c4d4
Author: Robert Munteanu <[email protected]>
AuthorDate: Tue Dec 18 00:06:06 2018 +0100
SLING-7245 - Validate pull requests using Jenkins
Archive Junit results
---
vars/slingOsgiBundleBuild.groovy | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/vars/slingOsgiBundleBuild.groovy b/vars/slingOsgiBundleBuild.groovy
index 8d1ec28..36cfbb9 100644
--- a/vars/slingOsgiBundleBuild.groovy
+++ b/vars/slingOsgiBundleBuild.groovy
@@ -1,5 +1,5 @@
def call(Map params = [:]) {
- def moduleDir = params.containsKey('moduleDir') ? params.moduleDir: '.'
+ def moduleDir = params.containsKey('moduleDir') ? params.moduleDir : '.'
pipeline {
agent {
@@ -20,5 +20,11 @@ def call(Map params = [:]) {
}
}
}
+
+ post {
+ always {
+ junit '**/target/*.xml'
+ }
+ }
}
}
\ No newline at end of file