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

@ -12,6 +12,15 @@ pipeline {
git 'https://git.wmi.amu.edu.pl/s464953/ium_464953.git'
}
}
stage('Stop and remove existing container') {
steps {
script {
sh "docker stop s464953 || true"
sh "docker rm s464953 || true"
}
}
}
stage('Build Docker image') {
steps {