forked from lix-project/hydra
Email responsible authors if requested
Signed-off-by: Shea Levy <shea@shealevy.com>
This commit is contained in:
parent
f8b80c99c2
commit
804617f075
|
@ -84,6 +84,9 @@ sub buildFinished {
|
|||
if (scalar keys %{authors} > 0) {
|
||||
my @x = map { "$_ <$authors->{$_}>" } (sort keys %{$authors});
|
||||
$authorList = join(" or ", scalar @x > 1 ? join(", ", @[0..scalar @x - 2]): (), $x[-1]);
|
||||
if ($build->jobset->emailresponsible) {
|
||||
$addresses{$authors->{$_}} = { builds => [ $build ] } foreach (keys %{$authors});
|
||||
}
|
||||
}
|
||||
|
||||
# Send an email to each interested address.
|
||||
|
|
Loading…
Reference in a new issue