forked from lix-project/hydra
rename var
This commit is contained in:
parent
a9c2880cf6
commit
e18fe1078a
|
@ -111,9 +111,9 @@ sub sendEmailNotification {
|
||||||
|
|
||||||
my $status = statusDescription($build->resultInfo->buildstatus);
|
my $status = statusDescription($build->resultInfo->buildstatus);
|
||||||
|
|
||||||
my $url = hostname_long ;
|
my $baseurl = hostname_long ;
|
||||||
my $sender = $config{'notification_sender'} ||
|
my $sender = $config{'notification_sender'} ||
|
||||||
(($ENV{'USER'} || "hydra") . "@" . $url);
|
(($ENV{'USER'} || "hydra") . "@" . $baseurl);
|
||||||
|
|
||||||
my $selfURI = $config{'base_uri'} || "http://localhost:3000";
|
my $selfURI = $config{'base_uri'} || "http://localhost:3000";
|
||||||
|
|
||||||
|
@ -191,7 +191,7 @@ sub sendEmailNotification {
|
||||||
From => "Hydra Build Daemon <$sender>",
|
From => "Hydra Build Daemon <$sender>",
|
||||||
Subject => "Hydra job $jobName build " . $build->id . ": $status",
|
Subject => "Hydra job $jobName build " . $build->id . ": $status",
|
||||||
|
|
||||||
'X-Hydra-Instance' => $url,
|
'X-Hydra-Instance' => $baseurl,
|
||||||
'X-Hydra-Project' => $build->project->name,
|
'X-Hydra-Project' => $build->project->name,
|
||||||
'X-Hydra-Jobset' => $build->jobset->name,
|
'X-Hydra-Jobset' => $build->jobset->name,
|
||||||
'X-Hydra-Job' => $build->job->name
|
'X-Hydra-Job' => $build->job->name
|
||||||
|
|
Loading…
Reference in a new issue