zad4 jenkins docker image creation

This commit is contained in:
s464953 2024-03-30 13:37:44 +01:00
parent 5793ad070b
commit fc8f9416f6

View File

@ -13,6 +13,15 @@ pipeline {
}
}
stage('Stop and remove existing container') {
steps {
script {
sh "docker stop s464953 || true"
sh "docker rm s464953 || true"
}
}
}
stage('Build Docker image') {
steps {
script {