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
This commit is contained in:
Dominik Stadler 2021-04-07 05:33:18 +00:00
parent fc96f1e4af
commit 6458acb931
1 changed files with 2 additions and 2 deletions

View 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()
}