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') {
|
stage('Stop Backend Docker') {
|
||||||
steps {
|
steps {
|
||||||
sh 'cd /home/deploy/logging-center/docker && docker-compose -f docker-compose.dev.yml down || true'
|
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') {
|
stage('Update Front Docker') {
|
||||||
steps {
|
steps {
|
||||||
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE'){
|
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE'){
|
||||||
|
|
Loading…
Reference in New Issue