|
@@ -96,7 +96,7 @@ pipeline {
|
|
sh "cat ${PKI_GIT_NAME}/${DOMAIN}/wildcard/acme-dns/letsencrypt.ca.pem >> ${CONFIG_DIR}/live/${DOMAIN}/fullchain.pem"
|
|
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'
|
|
PLAYBOOK = PKI_GIT_NAME + '/' + DOMAIN + '/wildcard/acme-dns/' + 'mail.yml'
|
|
ANSIBLE_CONFIG = PKI_GIT_NAME + '/' + DOMAIN + '/wildcard/acme-dns/' + 'ansible.cfg'
|
|
ANSIBLE_CONFIG = PKI_GIT_NAME + '/' + DOMAIN + '/wildcard/acme-dns/' + 'ansible.cfg'
|
|
- sh 'cp ${ANSIBLE_CONFIG} ${WORKSPACE}'
|
|
|
|
|
|
+ sh 'cp -f ${ANSIBLE_CONFIG} ${WORKSPACE}'
|
|
TARGET_DIR = WORKSPACE + '/' + CONFIG_DIR
|
|
TARGET_DIR = WORKSPACE + '/' + CONFIG_DIR
|
|
update_zimbra(PLAYBOOK, TARGET_DIR, SMTP_SERVER, DOMAIN)
|
|
update_zimbra(PLAYBOOK, TARGET_DIR, SMTP_SERVER, DOMAIN)
|
|
// update_sertificate(PLAYBOOK, TARGET_DIR, SMTP_SERVER, DOMAIN)
|
|
// update_sertificate(PLAYBOOK, TARGET_DIR, SMTP_SERVER, DOMAIN)
|