Hydra, for Lix
Find a file
Eelco Dolstra 1d8bb0764b Add a plugin mechanism
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;
2013-05-08 17:30:30 +02:00
doc Drop unused "disabled" columns 2013-05-03 16:39:17 +02:00
src Add a plugin mechanism 2013-05-08 17:30:30 +02:00
tests Fix the tests 2013-03-29 01:34:59 +01:00
.gitignore Add some gitignores 2013-04-26 17:51:05 +02:00
bootstrap hydra: Simplify `bootstrap'. 2011-01-14 10:52:47 +00:00
configure.ac Add font for the captcha 2013-03-04 12:16:13 +01:00
COPYING hydra: revert license change 2010-03-29 14:16:46 +00:00
deps.nix Remove Twitter notification support 2013-05-03 18:33:11 +02:00
hydra-module.nix hydra-module.nix: update hydra-check-space for systemd 2013-04-11 10:48:07 +02:00
INSTALL hydra: use autoconf/-make 2010-09-30 14:29:15 +00:00
Makefile.am Build documentation last 2013-01-22 12:05:47 +01:00
release.nix Fix the test 2013-04-12 01:24:16 +02:00
version hydra: fix tarball build, add pre suffix to tarballs 2010-09-30 15:02:42 +00:00