summaryrefslogtreecommitdiff
path: root/common.sh
diff options
context:
space:
mode:
Diffstat (limited to 'common.sh')
-rwxr-xr-xcommon.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/common.sh b/common.sh
index 63cb36a..09d9291 100755
--- a/common.sh
+++ b/common.sh
@@ -8,6 +8,8 @@ STAMPS=$(pwd)/stamps
BUILDS=$(pwd)/builds
SOURCES=$(pwd)/src
+NOTIFY=$(pwd)/notify.sh
+
mkdir -p "$LOGS"
mkdir -p "$STAMPS"
mkdir -p "$BUILDS"
@@ -103,6 +105,7 @@ notify_failures() {
fi
failure_report "$1" "$2" | sendmail kieran.bingham@ideasonboard.com
+ $NOTIFY "$1 has failed"
}
pass_fail() {