hydra/src
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
..
c hydra-eval-jobs: Use function argument default values 2013-03-29 01:14:24 +01:00
lib Add a plugin mechanism 2013-05-08 17:30:30 +02:00
root Add separation between news items 2013-05-07 17:04:42 +02:00
script Add a plugin mechanism 2013-05-08 17:30:30 +02:00
sql Drop unused "disabled" columns 2013-05-03 16:39:17 +02:00
ttf Add font for the captcha 2013-03-04 12:16:13 +01:00
xsl Hack to render empty lines in logs correctly 2013-04-02 23:40:19 +02:00
Makefile.am Add font for the captcha 2013-03-04 12:16:13 +01:00
Makefile.PL * Move everything up one directory. 2009-03-05 13:41:57 +00:00