Changes in Docker Agent
This commit is contained in:
@@ -49,7 +49,7 @@ pipeline {
|
||||
post{
|
||||
always{
|
||||
//cleanWs()
|
||||
sh "docker rmi ${IMAGE_NAME}:${env.BUILD_NUMBER} || true"
|
||||
sh "docker rmi ${IMAGE_NAME}:${TAG} || true"
|
||||
sh "docker rmi ${IMAGE_NAME}:latest || true"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user