From: Marjan Schiller Date: Fri, 3 May 2013 14:40:53 +0000 (+0200) Subject: Check if approval mail will be send. X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=b99c93fa0324f4e134cbe95652873683afdca51f;p=profitbricks%2Fjenkins-build-scripts.git Check if approval mail will be send. --- diff --git a/liveboot_approval_mail.sh b/liveboot_approval_mail.sh index e052f14..85a14f7 100755 --- a/liveboot_approval_mail.sh +++ b/liveboot_approval_mail.sh @@ -8,6 +8,13 @@ set -e export echo +# +# check if mail should be sent +# +if [ ${AUTOTEST_SEND_APPROVAL_MAIL} == "false" ]; then + echo "No approval mail will be send." +fi + # # check if we have a LIVEBOOT_BUILD_NUMBER #