Include who-broke-the-build information in notification emails
[?]
Oct 7, 2013, 3:13 PM
N5AS7EKYFZOTHWBTAZHOW7OXT6RXI2EDAWPMTTN42AU3VMQU77SQCDependencies
- [2]
E6SL7QRUOmit the system type if it's part of the job name - [*]
5EQYVRWEAdd a plugin mechanism - [*]
LDICTHWYUse Template::Toolkit to generate email messages - [*]
QDJRQIFFIf multiple dependent builds fail, send a single email
Change contents
- edit in src/lib/Hydra/Plugin/EmailNotification.pm at line 29
[% END -%] - edit in src/lib/Hydra/Plugin/EmailNotification.pm at line 33
[% IF nrCommits > 0 -%]This is likely due to [% IF nrCommits > 1 -%][% nrCommits %] commits by [% END -%][% authorList %]. - edit in src/lib/Hydra/Plugin/EmailNotification.pm at line 36
- edit in src/lib/Hydra/Plugin/EmailNotification.pm at line 80[6.1766][4.1725]
}my ($authors, $nrCommits) = getResponsibleAuthors($build, $self->{plugins});my $authorList;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]); - edit in src/lib/Hydra/Plugin/EmailNotification.pm at line 104
, nrCommits => $nrCommits, authorList => $authorList