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 {
|
||||
try {
|
||||
sh 'mvn test -P integration'
|
||||
} catch(err) {
|
||||
sh 'rm -f ./testsuccess'
|
||||
catchError {
|
||||
sh 'mvn test -P integration && touch ./testsuccess'
|
||||
}
|
||||
if(!fileExists('./testsuccess')){
|
||||
sh 'mvn test -P integration -DmaxLogs'
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user