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