Tomishinets Vladimir 4 years ago
parent
commit
38a6af8019
1 changed files with 2 additions and 4 deletions
  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)
 //          }
         }
       }