|
@@ -81,8 +81,8 @@ pipeline {
|
|
|
try{
|
|
|
echo "Updating ${item}"
|
|
|
sh """echo Docker host is $DOCKER_HOST, cert $DOCKER_CERT_PATH
|
|
|
- docker node ls
|
|
|
- docker service update ${service_name} --image ${DOCKER_REGISTRY}/iru/${DOCKER_IMAGE}:${NEWTAG}"""
|
|
|
+ docker node ls"""
|
|
|
+ sh "docker service update ${service_name} --image ${DOCKER_REGISTRY}/iru/${DOCKER_IMAGE}:${NEWTAG}"
|
|
|
}
|
|
|
catch(err){
|
|
|
echo "Recovering service $item"
|