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 { stages {
stage('Docker Stop') { stage('Docker Stop') {
steps { 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') { stage('Docker RM') {
steps { steps {
// Rm Docker image to build a new one from scratch // 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') { stage('Checkout') {