hydra-notify: listen for build_queued events

This commit is contained in:
Graham Christensen
2021-12-20 13:18:32 -05:00
parent eb5f6c8490
commit d195e545f5
4 changed files with 119 additions and 0 deletions

View File

@@ -3,10 +3,12 @@ package Hydra::Event;
use strict;
use warnings;
use Hydra::Event::BuildFinished;
use Hydra::Event::BuildQueued;
use Hydra::Event::BuildStarted;
use Hydra::Event::StepFinished;
my %channels_to_events = (
build_queued => \&Hydra::Event::BuildQueued::parse,
build_started => \&Hydra::Event::BuildStarted::parse,
step_finished => \&Hydra::Event::StepFinished::parse,
build_finished => \&Hydra::Event::BuildFinished::parse,