Browse Source

Обновить 'Jenkinsfile'

Vladimir Tomishinets 6 years ago
parent
commit
879c605de4
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Jenkinsfile

+ 1 - 1
Jenkinsfile

@@ -94,7 +94,7 @@ pipeline {
                 DOCKER_HOST=tcp://${CLUSTERS.get((ENAMES[1]))}:2376 DOCKER_TLS_VERIFY=1 ./ovpn-rsa-open-staging.sh
              """
           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) */
+          echo "${NODE}"
              
         }
       }