mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-20 23:05:49 +00:00
saduijqwo
This commit is contained in:
parent
65dc656eb7
commit
3e3d92ae5d
1 changed files with 1 additions and 1 deletions
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
|
@ -47,7 +47,7 @@ pipeline {
|
||||||
// Use the saved Docker image ID from the environment if needed
|
// Use the saved Docker image ID from the environment if needed
|
||||||
if (env.DOCKER_IMAGE_ID) {
|
if (env.DOCKER_IMAGE_ID) {
|
||||||
echo "Stopping and removing Docker Image with ID: ${env.DOCKER_IMAGE_ID}"
|
echo "Stopping and removing Docker Image with ID: ${env.DOCKER_IMAGE_ID}"
|
||||||
docker.image(env.DOCKER_IMAGE_ID).remove()
|
sh "docker rmi -f ${env.DOCKER_IMAGE_ID}"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue