From 6458acb931a0cc17b2d5ed205a1b3fbbb78b9193 Mon Sep 17 00:00:00 2001 From: Dominik Stadler Date: Wed, 7 Apr 2021 05:33:18 +0000 Subject: [PATCH] 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 --- jenkins/create_jobs.groovy | 4 ++-- 1 file 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() } -- 2.39.5