Skip to content

Commit

Permalink
Use XUnitPublisher instead of removed XUnitBuilder.
Browse files Browse the repository at this point in the history
  • Loading branch information
Axel-Naumann committed Apr 29, 2021
1 parent 9a0b18d commit e500075
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion DockerPushUbuntu.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ node('docker-host') {
unstableThreshold: '0'], [$class: 'SkippedThreshold', failureNewThreshold: '',
failureThreshold: '', unstableNewThreshold: '', unstableThreshold: '']]

step([$class: 'XUnitBuilder',
step([$class: 'XUnitPublisher',
testTimeMargin: '3000', thresholdMode: 1, thresholds: testThreshold,
tools: [[$class: 'CTestType',
deleteOutputFiles: true, failIfNotNew: false, pattern: 'root-build/Testing/*/Test.xml',
Expand Down
4 changes: 2 additions & 2 deletions GenericBuild.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -81,13 +81,13 @@ node(LABEL) {
failureThreshold: '', unstableNewThreshold: '', unstableThreshold: '']]

if (LABEL == 'windows10') {
step([$class: 'XUnitBuilder',
step([$class: 'XUnitPublisher',
testTimeMargin: '3000', thresholdMode: 1, thresholds: testThreshold,
tools: [[$class: 'CTestType',
deleteOutputFiles: true, failIfNotNew: false, pattern: 'build/Testing/*/Test.xml',
skipNoTestFiles: true, stopProcessingIfError: true]]])
} else {
step([$class: 'XUnitBuilder',
step([$class: 'XUnitPublisher',
testTimeMargin: '3000', thresholdMode: 1, thresholds: testThreshold,
tools: [[$class: 'CTestType',
deleteOutputFiles: true, failIfNotNew: false, pattern: 'build/Testing/*/Test.xml',
Expand Down

0 comments on commit e500075

Please sign in to comment.