Skip to content

Instantly share code, notes, and snippets.

@foca
Created Nov 23, 2008
Embed
What would you like to do?
Integrity.hooks do
on :successful_build, Deployer
on :failed_build, Notifier::Email
on :first_successful_build, Notifier::Email
on :build, Notifier::Irc
# the most common setup would be to have all notifiers on
# failed_build and first_successful_build, so maybe this
# shortcut would be cool too:
notify_with Notifier::Email, Notifier::Campfire
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment