|
@@ -70,7 +70,7 @@ pipeline {
|
|
|
stage("Publish") {
|
|
|
steps {
|
|
|
echo "Publishing ${DOCKER_REGISTRY}/iru/${DOCKER_IMAGE}:${NEWTAG}"
|
|
|
- sh "docker push ${DOCKER_REGISTRY}/iru/${DOCKER_IMAGE}:${repo}-${NEWTAG}"
|
|
|
+ sh "docker push ${DOCKER_REGISTRY}/iru/${DOCKER_IMAGE}:${NEWTAG}"
|
|
|
}
|
|
|
}
|
|
|
stage("Update") {
|
|
@@ -116,7 +116,7 @@ pipeline {
|
|
|
always {
|
|
|
echo "CleaningUp work diretory"
|
|
|
deleteDir()
|
|
|
-// sh "docker image rm -f `docker image ls -q ${DOCKER_REGISTRY}/iru/${DOCKER_IMAGE}:${repo}-${BUILD_NUMBER}`"
|
|
|
+ sh "docker image rm -f `docker image ls -q ${DOCKER_REGISTRY}/iru/${DOCKER_IMAGE}:${repo}-${BUILD_NUMBER}`"
|
|
|
}
|
|
|
failure {
|
|
|
mail charset: 'UTF-8',
|