diff --git a/Jenkinsfile b/Jenkinsfile index 1656c8ec..0bf4e3b9 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -8,7 +8,9 @@ pipeline { stage('Stop Docker') { steps { - sh 'cd /home/deploy/logging-center && cnpm run docker:stop' + catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE'){ + sh 'cd /home/deploy/logging-center && cnpm run docker:stop' + } } }