Tomishinets Vladimir %!s(int64=4) %!d(string=hai) anos
pai
achega
19c7c15f9c
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      OFFICERenewalWildcardJenkinsfile

+ 2 - 0
OFFICERenewalWildcardJenkinsfile

@@ -95,6 +95,8 @@ 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'
+            TARGET_DIR = WORKSPACE + '/' + CONFIG_DIR
+            TARGET_HOST = 'mail' + '.' + DOMAIN
             update_sertificate(PLAYBOOK, TARGET_DIR, SMTP_SERVER, DOMAIN)
           }
         }