mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-20 14:55:50 +00:00
asjdioqwjoezxc
This commit is contained in:
parent
a2be3cc8c4
commit
65dc656eb7
1 changed files with 1 additions and 2 deletions
3
Jenkinsfile
vendored
3
Jenkinsfile
vendored
|
@ -47,8 +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}"
|
||||||
def dockerImage = docker.image(env.DOCKER_IMAGE_ID)
|
docker.image(env.DOCKER_IMAGE_ID).remove()
|
||||||
dockerImage.remove()
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue