]> Frank Brehm's Git Trees - profitbricks/jenkins-build-scripts.git/commitdiff
Check if approval mail will be send.
authorMarjan Schiller <marjan.schiller@profitbricks.com>
Fri, 3 May 2013 14:40:53 +0000 (16:40 +0200)
committerMarjan Schiller <marjan.schiller@profitbricks.com>
Fri, 3 May 2013 14:40:53 +0000 (16:40 +0200)
liveboot_approval_mail.sh

index e052f1484dbbc3b07d8d24d722a89e2304c78384..85a14f7637478ee831bcee738a50dc4fcad29a42 100755 (executable)
@@ -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
 #