Tomishinets Vladimir 4 år sedan
förälder
incheckning
c48a701337
1 ändrade filer med 2 tillägg och 2 borttagningar
  1. 2 2
      OFFICERenewalWildcardJenkinsfile

+ 2 - 2
OFFICERenewalWildcardJenkinsfile

@@ -91,13 +91,13 @@ pipeline {
             }
           }
           ENDDATE = sh (script: "echo|openssl s_client -servername ${SMTP_SERVER} -connect ${SMTP_SERVER}:443 2>/dev/null|openssl x509 -noout -enddate", returnStdout: true).trim()
-          if (ENDDATE != NEW_ENDDATE) {
+//          if (ENDDATE != NEW_ENDDATE) {
             echo "Update certificate and key for ${SMTP_SERVER}"
             sh "cat ${PKI_GIT_NAME}/${DOMAIN}/wildcard/acme-dns/letsencrypt.ca.pem >> ${CONFIG_DIR}/live/${DOMAIN}/fullchain.pem"
             PLAYBOOK = PKI_GIT_NAME + '/' + DOMAIN + '/wildcard/acme-dns/' + 'mail.yml'
             TARGET_DIR = WORKSPACE + '/' + CONFIG_DIR
             update_sertificate(PLAYBOOK, TARGET_DIR, SMTP_SERVER, DOMAIN)
-          }
+//          }
         }
       }
     }