Update Jenkinsfile

This commit is contained in:
Tom Ruff authored and GitHub committed 2024-10-05 13:28:46 +03:00
1 parent 1f06ed1eb2
commit a401bb8268
1 file changed
+1 -1
Vendored
+1 -1
View File
@@ -57,7 +57,7 @@ pipeline {
} }
stage('Clean Old Container') { stage('Clean Old Container') {
steps { steps {
catchError(buildResult: 'SUCCESS',message: 'Container does\'nt exist on host, skipping...', stageResult: 'null ') { catchError(buildResult: 'SUCCESS',message: 'Container does\'nt exist on host, skipping...', stageResult: 'ABORTED') {
sh 'docker stop otomai' sh 'docker stop otomai'
sh 'docker rm otomai' sh 'docker rm otomai'
} }