restructure jenkins test error catch again
All checks were successful
studiorailgun/Renderer/pipeline/head This commit looks good
All checks were successful
studiorailgun/Renderer/pipeline/head This commit looks good
This commit is contained in:
parent
a4e6af4896
commit
5f1b7cdc62
8
Jenkinsfile
vendored
8
Jenkinsfile
vendored
@ -46,9 +46,11 @@ pipeline {
|
|||||||
]
|
]
|
||||||
) {
|
) {
|
||||||
script {
|
script {
|
||||||
try {
|
sh 'rm -f ./testsuccess'
|
||||||
sh 'mvn test -P integration'
|
catchError {
|
||||||
} catch(err) {
|
sh 'mvn test -P integration && touch ./testsuccess'
|
||||||
|
}
|
||||||
|
if(!fileExists('./testsuccess')){
|
||||||
sh 'mvn test -P integration -DmaxLogs'
|
sh 'mvn test -P integration -DmaxLogs'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user