Add buildQueued plugin hook
[?]
May 24, 2017, 1:45 PM
PXTSKX4GBDOBMI4MDO64DBIHSEVTM6IZ5O6GUFXK6UL63GHWBMBACDependencies
- [2]
NTEDD7T4Provide a plugin hook for when build steps finish - [3]
VU2OLHD2Move most of AddBuilds to hydra-eval-jobset - [*]
NSRWW6LCAdd a plugin to interact with the github status API. - [*]
5EQYVRWEAdd a plugin mechanism - [*]
FCTX433OAdd buildStarted plugin hook - [*]
N22GPKYT* Put info about logs / build products in the DB. - [*]
IE2PRAQUhydra-queue-runner: Send build notifications
Change contents
- edit in src/lib/Hydra/Plugin/GithubStatus.pm at line 70
}sub buildQueued {common(@_, [], 0); - edit in src/lib/Hydra/Plugin.pm at line 23
# Called when build $build has been queued.sub buildQueued {my ($self, $build) = @_;} - edit in src/script/hydra-eval-jobset at line 474
system("hydra-notify build-queued " . $build->id) if defined $buildMap->{$build->id} && $buildMap->{$build->id}->{new}; - edit in src/script/hydra-notify at line 45
elsif ($cmd eq "build-queued") {foreach my $plugin (@plugins) {eval { $plugin->buildQueued($build); };if ($@) {print STDERR "$plugin->buildQueued: $@\n";}}}