|
@@ -63,8 +63,8 @@ pipeline {
|
|
|
}
|
|
|
stage("Build") {
|
|
|
steps {
|
|
|
- echo "Building ${DOCKER_REGISTRY}/iru/${DOCKER_IMAGE}:${SERIAL}."
|
|
|
- sh """docker build --no-cache -t ${DOCKER_REGISTRY}/iru/${DOCKER_IMAGE}:${SERIAL} .
|
|
|
+ echo "Building ${DOCKER_IMAGE}:${SERIAL}."
|
|
|
+ sh """docker build --no-cache -t ${DOCKER_IMAGE}:${SERIAL} .
|
|
|
if [ \$? != 0 ]; then echo 'The container was not built'; exit 1; fi
|
|
|
"""
|
|
|
}
|