|
@@ -17,6 +17,7 @@ if [[ -z ${CERT_SUBDIR} ]];then echo "variable CERT_SUBDIR doesn't set"; exit 1;
|
|
|
|
|
|
|
|
|
mail_send() {
|
|
|
+ set +e
|
|
|
echo "$1"|mail -s "Attention! Certificate renewal status!" \
|
|
|
-S smtp=${SMTP_SERVER} \
|
|
|
-S smtp-use-starttls \
|
|
@@ -27,7 +28,7 @@ mail_send() {
|
|
|
-S nss-config-dir=/etc/pki/nssdb \
|
|
|
-S from=${JENKINS_MAIL_USER} \
|
|
|
-a ${LOG_FILE} \
|
|
|
- ${RECIPIENT_MAIL_BOX} | cat -
|
|
|
+ ${RECIPIENT_MAIL_BOX}
|
|
|
}
|
|
|
|
|
|
git_config() {
|