@@ -93,7 +93,7 @@ pipeline {
"""
def NODE = sh script: "DOCKER_HOST=tcp://${CLUSTERS.get((ENAMES[1]))}:2376 DOCKER_TLS_VERIFY=1 docker service ps \${SERVICE_NAME} --format '{{.Node}}' --filter desired-state=Running" , returnStdout: true
echo "${NODE}"
- sh "container_id_client=\$(docker run -d --rm -e mode=client -e server=${NODE} --privileged ${DOCKER_IMAGE}:${SERIAL})"
+ sh "container_id_client=\$(docker run -d --rm -e "mode=client" -e "server=${NODE}" --privileged ${DOCKER_IMAGE}:${SERIAL})"
}