forked from lix-project/hydra
* Allow overriding the sender email address.
This commit is contained in:
parent
f89644ddb7
commit
c1e6797d39
|
@ -54,7 +54,8 @@ sub sendEmailNotification {
|
||||||
my $status =
|
my $status =
|
||||||
$build->resultInfo->buildstatus == 0 ? "SUCCEEDED" : "FAILED";
|
$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";
|
my $selfURI = $config{'base_uri'} || "http://localhost:3000";
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue