aboutsummaryrefslogtreecommitdiffstats
path: root/jenkins
diff options
context:
space:
mode:
authorDominik Stadler <centic@apache.org>2021-04-07 05:33:18 +0000
committerDominik Stadler <centic@apache.org>2021-04-07 05:33:18 +0000
commit6458acb931a0cc17b2d5ed205a1b3fbbb78b9193 (patch)
tree109bdb78ebba8d1a5885c276406f119eded5aca9 /jenkins
parentfc96f1e4afe88ee5e44a6e8e607fa481c518943a (diff)
downloadpoi-6458acb931a0cc17b2d5ed205a1b3fbbb78b9193.tar.gz
poi-6458acb931a0cc17b2d5ed205a1b3fbbb78b9193.zip
Adjust path for archiving JUnit files to capture both locations that are in use
Somehow JUnit stores test-results either under test-result or under test-result/test, so let's look at both directories for now git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1888458 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'jenkins')
-rw-r--r--jenkins/create_jobs.groovy4
1 files changed, 2 insertions, 2 deletions
diff --git a/jenkins/create_jobs.groovy b/jenkins/create_jobs.groovy
index f5773b0c49..af67405037 100644
--- a/jenkins/create_jobs.groovy
+++ b/jenkins/create_jobs.groovy
@@ -474,7 +474,7 @@ poijobs.each { poijob ->
warnings(['Java Compiler (javac)', 'JavaDoc Tool'], null) {
resolveRelativePaths()
}
- archiveJunit('*/build/test-results/*.xml') {
+ archiveJunit('*/build/test-results/**/TEST-*.xml') {
testDataPublishers {
publishTestStabilityData()
}
@@ -580,7 +580,7 @@ xmlbeansjobs.each { xjob ->
warnings(['Java Compiler (javac)', 'JavaDoc Tool'], null) {
resolveRelativePaths()
}
- archiveJunit('build/test-results/TEST-*.xml') {
+ archiveJunit('build/test-results/**/TEST-*.xml') {
testDataPublishers {
publishTestStabilityData()
}