Browse Source

missprint

Tomishinets Vladimir 4 years ago
parent
commit
a21fd4d9d5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      OFFICERenewalWildcardJenkinsfile

+ 1 - 1
OFFICERenewalWildcardJenkinsfile

@@ -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)