diff options
author | Jonathan "Duke" Leto <jonathan@leto.net> | 2011-01-10 14:08:27 -0800 |
---|---|---|
committer | Jonathan "Duke" Leto <jonathan@leto.net> | 2011-01-10 14:08:27 -0800 |
commit | 7c19ea7b5e78fd32921ae926802ef80f17c7ca13 (patch) | |
tree | 2b2bc2a51d7662dc6e8143d73e0891d2ae52982f /scripts/build-failed.sh | |
parent | Add debug info for a failed build event (diff) | |
download | jitterbug-7c19ea7b5e78fd32921ae926802ef80f17c7ca13.tar.gz |
Add the ability to CC an email when builds fail
Diffstat (limited to '')
-rwxr-xr-x | scripts/build-failed.sh | 3 |
1 files changed, 2 insertions, 1 deletions
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 |