1d8bb0764bb14072c2bac953b21fd9516bbc9baa
You can now add plugins to Hydra by writing a module called
Hydra::Plugin::<whatever> and putting it in Perl's search path. The
only plugin operation currently supported in buildFinished, called
when hydra-build has finished doing a build.
For instance, a Twitter notification plugin would look like this:
package Hydra::Plugin::TwitterNotification;
sub buildFinished {
my ($self, $db, $config, $build, $dependents) = @_;
print STDERR "tweeting about build ", $build->id, "\n";
# send tweet...
}
1;
Description
Hydra, the Nix-based continuous build system
Languages
Perl
71%
C++
15.5%
Nix
5.6%
PLpgSQL
3%
Shell
2.2%
Other
2.7%