DWN-33428 : fix junitPublisher disabled logic in Jenkinsfile
parent
8721fdd2a8
commit
5cef73de8a
|
@ -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/"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue