about summary refs log tree commit diff
path: root/scripts
diff options
context:
space:
mode:
authorJonathan "Duke" Leto <jonathan@leto.net>2011-01-11 15:38:50 -0500
committerJonathan "Duke" Leto <jonathan@leto.net>2011-01-11 15:38:50 -0500
commit490c240d5f70ca5c7fabd747ec6bfb7e218eeef7 (patch)
tree07cd7cea2428dd34fda88ff2aae80da5c238bab2 /scripts
parentAttempt to fix the mangled build failure email bug (diff)
downloadjitterbug-490c240d5f70ca5c7fabd747ec6bfb7e218eeef7.tar.gz
Make build failure email more useful by including TAP output
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/build-failed.sh17
1 files changed, 12 insertions, 5 deletions
diff --git a/scripts/build-failed.sh b/scripts/build-failed.sh
index 1be5cd2..ebd098a 100755
--- a/scripts/build-failed.sh
+++ b/scripts/build-failed.sh
@@ -1,7 +1,14 @@
 COMMITER=$1
-MESSAGE=$2
-OUTPUT=$3
-SHA=$4
-CC_EMAIL=$5
+PROJECT=$2
+MESSAGE=$3
+OUTPUT=$4
+SHA=$5
+CC_EMAIL=$6
 
-echo "Message:\n$MESSAGE\nTest Output:\n$OUTPUT\n" | mail -c "$CC_EMAIL" -s "[jitterbug] BUILD FAILED $SHA" $COMMITER
+echo "
+Message:
+$MESSAGE
+
+Test Output:
+$OUTPUT
+" | mail -c "$CC_EMAIL" -s "[jitterbug] FAIL $PROJECT @ $SHA" $COMMITER