hydra-build: Add system info to the subject and extra headers.

This commit is contained in:
Ludovic Courtès 2012-01-31 18:27:33 +01:00
parent 8d78a688c7
commit 5644c1c7d9

View file

@ -190,12 +190,13 @@ sub sendEmailNotification {
header => [
To => $to,
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-Project' => $build->project->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 => "",
);