DWN-33428 : fix junitPublisher disabled logic in Jenkinsfile

pull/1601/head
Harry Smith 2020-06-09 07:54:30 +01:00
parent 8721fdd2a8
commit 5cef73de8a
1 changed files with 2 additions and 2 deletions

4
Jenkinsfile vendored
View File

@ -62,7 +62,7 @@ pipeline {
sh "git push origin HEAD:${BRANCH_NAME} --tags" sh "git push origin HEAD:${BRANCH_NAME} --tags"
} }
timeout(time: 10, unit: 'MINUTES') { timeout(time: 10, unit: 'MINUTES') {
withMaven(options: [jUnitPublisher(disabled: true]) { withMaven(options: [jUnitPublisher(disabled: true)]) {
sh "mvn -B -V -U -T4 clean deploy -DaltReleaseDeploymentRepository=releases::default::https://nexus.greshamtech.com/content/repositories/thirdparty/" sh "mvn -B -V -U -T4 clean deploy -DaltReleaseDeploymentRepository=releases::default::https://nexus.greshamtech.com/content/repositories/thirdparty/"
} }
} }
@ -84,7 +84,7 @@ pipeline {
} }
steps { steps {
timeout(time: 10, unit: 'MINUTES') { timeout(time: 10, unit: 'MINUTES') {
withMaven(options: [jUnitPublisher(disabled: true]) { withMaven(options: [jUnitPublisher(disabled: true)]) {
sh "mvn -B -V -U -T4 clean deploy -DaltSnapshotDeploymentRepository=snapshots::default::https://nexus.greshamtech.com/content/repositories/third-party-snapshots/" sh "mvn -B -V -U -T4 clean deploy -DaltSnapshotDeploymentRepository=snapshots::default::https://nexus.greshamtech.com/content/repositories/third-party-snapshots/"
} }
} }