Explorar o código

Обновить 'Jenkinsfile'

Vladimir Tomishinets %!s(int64=7) %!d(string=hai) anos
pai
achega
c744018ae4
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      Jenkinsfile

+ 2 - 1
Jenkinsfile

@@ -111,7 +111,8 @@ pipeline {
     stage("Prod-like") {
       steps {
         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
                 export DOCKER_CERT_PATH=/run/secrets/swarm
                 export DOCKER_HOST=tcp://${CLUSTER_NAME}:2376 DOCKER_TLS_VERIFY=1