Browse Source

Обновить 'Jenkinsfile'

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

+ 2 - 1
Jenkinsfile

@@ -111,7 +111,8 @@ pipeline {
     stage("Prod-like") {
     stage("Prod-like") {
       steps {
       steps {
         echo "\u001B[32m \u2600 Check Prod-like cluster status \u001B[0m"
         echo "\u001B[32m \u2600 Check Prod-like cluster status \u001B[0m"
-        sh '''ping -c 2 ${CLUSTER_NAME}
+        sh '''set +x
+              ping -c 2 ${CLUSTER_NAME}
               if [ $? -eq 0 ]; then
               if [ $? -eq 0 ]; then
                 export DOCKER_CERT_PATH=/run/secrets/swarm
                 export DOCKER_CERT_PATH=/run/secrets/swarm
                 export DOCKER_HOST=tcp://${CLUSTER_NAME}:2376 DOCKER_TLS_VERIFY=1
                 export DOCKER_HOST=tcp://${CLUSTER_NAME}:2376 DOCKER_TLS_VERIFY=1