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