forked from lix-project/hydra
hydra-build: Add system info to the subject and extra headers.
This commit is contained in:
parent
8d78a688c7
commit
5644c1c7d9
|
@ -190,12 +190,13 @@ sub sendEmailNotification {
|
||||||
header => [
|
header => [
|
||||||
To => $to,
|
To => $to,
|
||||||
From => "Hydra Build Daemon <$sender>",
|
From => "Hydra Build Daemon <$sender>",
|
||||||
Subject => "Hydra job $jobName build " . $build->id . ": $status",
|
Subject => "Hydra job $jobName on " . $build->system . ", build " . $build->id . ": $status",
|
||||||
|
|
||||||
'X-Hydra-Instance' => $baseurl,
|
'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,
|
||||||
|
'X-Hydra-System' => $build->system
|
||||||
],
|
],
|
||||||
body => "",
|
body => "",
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in a new issue