|
@@ -89,10 +89,9 @@ pipeline {
|
|
|
echo "Update certificate and key for ${item}"
|
|
|
def PLAYBOOK = PKI_GIT_NAME + '/' + DOMAIN + '/wildcard/acme-dns/' + 'apache.yml'
|
|
|
def TARGET_HOST = item + '.' + DOMAIN
|
|
|
- def DOT_DOMAIN = '.' + DOMAIN
|
|
|
def TARGET_DIR = WORKSPACE + '/' + CONFIG_DIR
|
|
|
- update_sertificate(PLAYBOOK, TARGET_DIR, TARGET_HOST, DOT_DOMAIN)
|
|
|
-// ap(PLAYBOOK, TARGET_DIR, TARGET_HOST, DOT_DOMAIN)
|
|
|
+ update_sertificate(PLAYBOOK, TARGET_DIR, TARGET_HOST, DOMAIN)
|
|
|
+// ap(PLAYBOOK, TARGET_DIR, TARGET_HOST, DOMAIN)
|
|
|
// }
|
|
|
}
|
|
|
/* ENDDATE = sh (script: "echo|openssl s_client -servername ${SMTP_SERVER} -connect ${SMTP_SERVER} 2>/dev/null|openssl x509 -noout -enddate", returnStdout: true).trim()
|