Update Jenkinsfile

This commit is contained in:
Tom Ruff
2024-10-05 13:28:46 +03:00
committed by GitHub
parent 1f06ed1eb2
commit a401bb8268

2
Jenkinsfile vendored
View File

@@ -57,7 +57,7 @@ pipeline {
}
stage('Clean Old Container') {
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 rm otomai'
}