* Allow overriding the sender email address.

This commit is contained in:
Eelco Dolstra 2009-07-24 18:06:34 +00:00
parent f89644ddb7
commit c1e6797d39

View file

@ -54,7 +54,8 @@ sub sendEmailNotification {
my $status =
$build->resultInfo->buildstatus == 0 ? "SUCCEEDED" : "FAILED";
my $sender = ($ENV{'USER'} || "hydra") . "@" . hostname_long . "\n";
my $sender = $config{'notification_sender'} ||
(($ENV{'USER'} || "hydra") . "@" . hostname_long . "\n");
my $selfURI = $config{'base_uri'} || "http://localhost:3000";