From 1f06ed1eb2227ca79a85d492d022f33caccd1012 Mon Sep 17 00:00:00 2001 From: Tom Ruff <111608666+WuffusXR@users.noreply.github.com> Date: Sat, 5 Oct 2024 13:26:04 +0300 Subject: [PATCH] Update Jenkinsfile --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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' }