Set notificationpendingsince for dependent builds
[?]
May 28, 2020, 8:45 AM
OEQQ6CVTBZBTSCU6IT7ZRIPRTYUJLM7BT435EL5TGBVBEA5AT7PQCDependencies
- [2]
32KJOERMTurn hydra-notify into a daemon - [3]
NTEDD7T4Provide a plugin hook for when build steps finish - [*]
IE2PRAQUhydra-queue-runner: Send build notifications
Change contents
- replacement in src/script/hydra-notify at line 66
$build->update({ notificationpendingsince => undef });# We have to iterate through all dependents as well, and if they are finished# to mark their notificationpendingsince.# Otherwise, the dependent builds will remain with notificationpendingsince set# until hydra-notify is started, as buildFinished is never emitted for them.foreach my $b ($build, @dependents) {$b->update({ notificationpendingsince => undef }) if $b->finished;}