diff options
-rw-r--r-- | vars/utils.groovy | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/vars/utils.groovy b/vars/utils.groovy index a159145..e1fa458 100644 --- a/vars/utils.groovy +++ b/vars/utils.groovy @@ -259,6 +259,11 @@ def processTestReport(config, index) { "skippedUnstableThresh: ${config.skippedUnstableThresh}\n" + "skippedFailureThresh: ${config.skippedFailureThresh}" println(thresh_summary) + + // Process the XML results file to include the build config name as a prefix + // on each test name to make it more obvious from where each result originates. + sh(script:"sed -i 's/ name=\"/ name=\"[${config.name}] /g' *.xml") + if (report_exists == 0) { step([$class: 'XUnitBuilder', thresholds: [ |