Skip to content

Instantly share code, notes, and snippets.

@jamiew
Created July 31, 2011 21:48
Show Gist options
  • Save jamiew/1117251 to your computer and use it in GitHub Desktop.
Save jamiew/1117251 to your computer and use it in GitHub Desktop.
A CI Joe build-failed hook that includes the test results in the email notification.
# .git/hooks/build-failed
echo -e "http://cijoe-server:4567\n\n" | cat - .git/builds/last | mail -s 'CI: Build failed!' [email protected]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment