Tomishinets Vladimir 5 年之前
父节点
当前提交
f1d998e7ae
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3 3
      OFFICERenewalWildcardJenkinsfile

+ 3 - 3
OFFICERenewalWildcardJenkinsfile

@@ -62,12 +62,12 @@ pipeline {
 */    stage("Update docker secret in SWARM cluster") {
       steps {
         script {
-          ENDDATE = sh (script: "echo|openssl s_client -servername ${REGISTRY_OFFICE} -connect ${REGISTRY_OFFICE}:443 2>/dev/null|openssl x509 -noout -enddate", returnStdout: true).trim()
-          if (ENDDATE != NEW_ENDDATE) {
+//          ENDDATE = sh (script: "echo|openssl s_client -servername ${REGISTRY_OFFICE} -connect ${REGISTRY_OFFICE}:443 2>/dev/null|openssl x509 -noout -enddate", returnStdout: true).trim()
+//          if (ENDDATE != NEW_ENDDATE) {
             echo "Update docker secret in ${CLUSTER_OFFICE}"
             NODE_IP = sh (script: "DOCKER_HOST=tcp://${CLUSTER_OFFICE}:2376 DOCKER_TLS_VERIFY=1 docker node inspect self -f '{{.Status.Addr}}'" , returnStdout: true).trim()
             update_secret(NODE_IP, SWARM_GIT_NAME, DOMAIN, CONFIG_DIR)
-          }
+//          }
         }
       }
     }