Browse Source

Обновить 'Jenkinsfile'

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

+ 1 - 1
Jenkinsfile

@@ -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})"
              
         }
       }