Fix message

This commit is contained in:
Eelco Dolstra 2014-11-19 14:52:42 +01:00
parent 8523130ebb
commit 2d46741840

View file

@ -25,7 +25,7 @@ The following dependent jobs also failed:
[% END -%]
[% END -%]
[% IF nrCommits > 0 -%]
[% IF nrCommits > 0 && authorList -%]
This is likely due to [% IF nrCommits > 1 -%][% nrCommits %] commits by [% END -%][% authorList %].
[% END -%]
@ -85,8 +85,6 @@ sub buildFinished {
}
# Send an email to each interested address.
# !!! should use the Template Toolkit here.
for my $to (keys %addresses) {
print STDERR "sending mail notification to ", $to, "\n";
my @builds = @{$addresses{$to}->{builds}};