Integrity
Integrity is your friendly automated Continuous Integration server.
Integrity Web Hooks Notifier
This lets Integrity POST to one or more URLs after a build is completed.
The payload
Each defined URL gets a JSON hash posted to it.
The contents is as follows:
{
"project" => build.project.name, # "integrity-hooks"
"short_message" => short_message, # "Built c289a62 successfully"
"full_message" => full_message, # "Build c289a622ee2771ef7f8f1771d67c3c8971d1fcad was successful
# Commit Message: make it possible to post to several URLs
# Commit Date: 2009-07-26T15:39:06+02:00
# Commit Author: Per Christian B. Viken
#
# Link: ...
#
# Build Output:
#
# ...
"url" => commit_url # ...
}
Setup Instructions
Just install this gem with gem install PerfectlyNormal-integrity-hooks
and then in your Rackup (ie, config.ru
) file:
require "rubygems"
require "integrity/notifier/hooks"
Now, just edit the project and the configuration should be there