catch error for stop step in Jenkinsfile
This commit is contained in:
parent
045b503a7e
commit
641226023b
|
@ -15,12 +15,13 @@ pipeline {
|
|||
}
|
||||
|
||||
stage('Stop Backend Docker') {
|
||||
steps {
|
||||
sh 'cd /home/deploy/logging-center/docker && docker-compose -f docker-compose.dev.yml down || true'
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE'){
|
||||
sh 'cd /home/deploy/logging-center/docker && docker-compose -f docker-compose.dev.yml down || true'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
stage('Update Front Docker') {
|
||||
steps {
|
||||
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE'){
|
||||
|
|
Loading…
Reference in New Issue