Skip to content

Instantly share code, notes, and snippets.

@juliandunn
Last active August 29, 2015 14:16
Show Gist options
  • Save juliandunn/30dff317ee6e9fe3d82e to your computer and use it in GitHub Desktop.
Save juliandunn/30dff317ee6e9fe3d82e to your computer and use it in GitHub Desktop.
rules on control failure
rules "throw errors on control group failures"
rule on run control group
when
status = "failure"
then
notify("email_me", "Run control group \"{{ message.name }}\" just failed on {{ message.run.node_name }}!")
notify("webhook_me")
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment