This commit is contained in:
2026-02-25 18:57:52 +01:00
parent f46dc83e52
commit 5ce61d2f9c

View File

@@ -7,13 +7,14 @@ pipeline {
stages {
stage('Docker Stop') {
steps {
sh 'docker stop the-example-app'
// Stop Docker if running
sh 'docker stop the-example-app | true' //Not important, just logistics
}
}
stage('Docker RM') {
steps {
// Rm Docker image to build a new one from scratch
sh 'docker rm the-example-app'
sh 'docker rm the-example-app | true' //Not important, just logistics
}
}
stage('Checkout') {