From b1a5bddc4c42308942d007ad71654f4bf4c0f282 Mon Sep 17 00:00:00 2001 From: "Jonathan \"Duke\" Leto" Date: Mon, 10 Jan 2011 14:08:27 -0800 Subject: Add the ability to CC an email when builds fail --- scripts/build-failed.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/build-failed.sh b/scripts/build-failed.sh index 43463b3..644e35f 100755 --- a/scripts/build-failed.sh +++ b/scripts/build-failed.sh @@ -2,10 +2,11 @@ COMMITER=$1 MESSAGE=$2 OUTPUT=$3 SHA=$4 +CC_EMAIL=$5 echo " Message: $MESSAGE $OUTPUT -" | mail -s "[jitterbug] BUILD FAILED $SHA" $COMMITER +" | mail -c "$CC_EMAIL" -s "[jitterbug] BUILD FAILED $SHA" $COMMITER -- cgit v1.2.3