Tomishinets Vladimir 4 anni fa
parent
commit
38a6af8019
1 ha cambiato i file con 2 aggiunte e 4 eliminazioni
  1. 2 4
      OFFICERenewalWildcardJenkinsfile

+ 2 - 4
OFFICERenewalWildcardJenkinsfile

@@ -95,11 +95,9 @@ pipeline {
             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'
-//            ANSIBLE_CONFIG = PKI_GIT_NAME + '/' + DOMAIN + '/wildcard/acme-dns/' + 'ansible.cfg'
-//            sh "cp -f ${ANSIBLE_CONFIG} ${WORKSPACE}"
             TARGET_DIR = WORKSPACE + '/' + CONFIG_DIR
-            update_zimbra(PLAYBOOK, TARGET_DIR, SMTP_SERVER, DOMAIN)
-//            update_sertificate(PLAYBOOK, TARGET_DIR, SMTP_SERVER, DOMAIN)
+//            update_zimbra(PLAYBOOK, TARGET_DIR, SMTP_SERVER, DOMAIN)
+            update_sertificate(PLAYBOOK, TARGET_DIR, SMTP_SERVER, DOMAIN)
 //          }
         }
       }