|
@@ -93,7 +93,7 @@ pipeline {
|
|
|
sh """cd \${SWARM_GIT_NAME}/\${DOCKER_IMAGE}
|
|
|
DOCKER_HOST=tcp://${CLUSTERS.get((ENAMES[1]))}:2376 DOCKER_TLS_VERIFY=1 ./ovpn-rsa-open-staging.sh
|
|
|
"""
|
|
|
- def NODE = 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
|
|
|
+ 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
|
|
|
/* node=\$(docker service ps \${SERVICE_NAME} --format '{{.Node}}' --filter desired-state=Running) */
|
|
|
|
|
|
}
|