]> source.dussan.org Git - poi.git/commitdiff
Adjust path for archiving JUnit files to capture both locations that are in use
authorDominik Stadler <centic@apache.org>
Wed, 7 Apr 2021 05:33:18 +0000 (05:33 +0000)
committerDominik Stadler <centic@apache.org>
Wed, 7 Apr 2021 05:33:18 +0000 (05:33 +0000)
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

jenkins/create_jobs.groovy

index f5773b0c49ed31d460209b2dd917367a15aab7bb..af67405037b6160a86ae782eb2a59f5288bcb4d4 100644 (file)
@@ -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()
                 }