hydra-notify: Create a helper for running each plugin on an event
[?]
Aug 12, 2021, 4:53 PM
FN3QFV6VB2BPYLKNYBUCV7HTSXCLKKLBD43TSEQUZNNAJVQACDZQCDependencies
- [2]
P4SME2BCAbstract over postgres' LISTEN/NOTIFY - [*]
IE2PRAQUhydra-queue-runner: Send build notifications - [*]
32KJOERMTurn hydra-notify into a daemon
Change contents
- edit in src/script/hydra-notify at line 33[2.1922][5.1591]
sub runPluginsForEvent {my ($event) = @_; - edit in src/script/hydra-notify at line 37[5.1592][5.1592]
foreach my $plugin (@plugins) {eval {$event->execute($db, $plugin);1;} or do {print STDERR "error running $event->{'channel_name'} hooks: $@\n";}}}