zad4 jenkins docker image creation
This commit is contained in:
parent
5793ad070b
commit
fc8f9416f6
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user