mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-25 16:45:48 +00:00
Update Jenkinsfile
This commit is contained in:
parent
7afaa3e07e
commit
60b3efe73e
1 changed files with 2 additions and 3 deletions
5
Jenkinsfile
vendored
5
Jenkinsfile
vendored
|
@ -37,12 +37,11 @@ pipeline {
|
||||||
sh """#!/bin/bash -xe
|
sh """#!/bin/bash -xe
|
||||||
|
|
||||||
docker push()
|
docker push()
|
||||||
Image push("latest")
|
docker push("latest")
|
||||||
}
|
|
||||||
echo "Pushed Docker Image: ${env.IMAGE_NAME}"
|
echo "Pushed Docker Image: ${env.IMAGE_NAME}"
|
||||||
}
|
|
||||||
docker rmi ${env.IMAGE_NAME} ${env.IMAGE_NAME_LATEST}
|
docker rmi ${env.IMAGE_NAME} ${env.IMAGE_NAME_LATEST}
|
||||||
"""
|
"""
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue