diff --git a/Jenkinsfile b/Jenkinsfile index 60f8ecc..2e9a7e0 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -57,7 +57,7 @@ pipeline { } stage('Clean Old Container') { steps { - catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') { + catchError(buildResult: 'SUCCESS',message: 'Container does\'nt exist on host, skipping...', stageResult: 'null ') { sh 'docker stop otomai' sh 'docker rm otomai' }