|
@@ -58,16 +58,17 @@ pipeline {
|
|
|
}
|
|
|
echo "Docker ${DOCKER_HOST}, Registry ${DOCKER_REGISTRY}"
|
|
|
/* echo "Building ${DOCKER_REGISTRY}/iru/${DOCKER_IMAGE}:${repo}-${BUILD_NUMBER}."
|
|
|
- sh "docker build --build-arg repo=${repo} --no-cache -t ${DOCKER_REGISTRY}/iru/${DOCKER_IMAGE}:${repo}-${BUILD_NUMBER} ."
|
|
|
-*/ }
|
|
|
+ sh "docker build --build-arg repo=${repo} --no-cache -t ${DOCKER_REGISTRY}/iru/${DOCKER_IMAGE}:${repo}-${BUILD_NUMBER} ." */
|
|
|
+ }
|
|
|
}
|
|
|
stage("Publish") {
|
|
|
steps {
|
|
|
echo "Publishing ${DOCKER_REGISTRY}/iru/${DOCKER_IMAGE}:${repo}-${BUILD_NUMBER}"
|
|
|
- error ("Emergency exit")
|
|
|
sh "docker push ${DOCKER_REGISTRY}/iru/${DOCKER_IMAGE}:${repo}-${BUILD_NUMBER}"
|
|
|
- script {
|
|
|
+ script {
|
|
|
sh "echo Building ${DOCKER_REGISTRY}/iru/${DOCKER_IMAGE}:${repo}-${BUILD_NUMBER}."
|
|
|
+ }
|
|
|
+ error ("Emergency exit")
|
|
|
}
|
|
|
}
|
|
|
stage("Update") {
|