forked from lix-project/hydra
Include # of failed builds in Subject
This commit is contained in:
parent
4b1a8384db
commit
e09622eb29
|
@ -147,7 +147,10 @@ sub buildFinished {
|
||||||
header => [
|
header => [
|
||||||
To => $to,
|
To => $to,
|
||||||
From => "Hydra Build Daemon <$sender>",
|
From => "Hydra Build Daemon <$sender>",
|
||||||
Subject => showStatus($build) . ": Hydra job " . showJobName($build) . ($vars->{showSystem} ? " on " . $build->system : ""),
|
Subject =>
|
||||||
|
showStatus($build) . ": Hydra job " . showJobName($build)
|
||||||
|
. ($vars->{showSystem} ? " on " . $build->system : "")
|
||||||
|
. (scalar @{$vars->{dependents}} > 0 ? " (and " . scalar @{$vars->{dependents}} . " others)" : ""),
|
||||||
'X-Hydra-Instance' => $vars->{baseurl},
|
'X-Hydra-Instance' => $vars->{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,
|
||||||
|
|
Loading…
Reference in a new issue