hack to try and prevent too many newlines
This commit is contained in:
parent
1c0d34d395
commit
791a6eddd6
|
@ -182,8 +182,9 @@ 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",
|
||||||
],
|
],
|
||||||
body => $body,
|
body => "",
|
||||||
);
|
);
|
||||||
|
$email->body_set($body);
|
||||||
|
|
||||||
print $email->as_string if $ENV{'HYDRA_MAIL_TEST'};
|
print $email->as_string if $ENV{'HYDRA_MAIL_TEST'};
|
||||||
|
|
||||||
|
|
|
@ -67,8 +67,9 @@ sub sendJobsetErrorNotification() {
|
||||||
From => "Hydra Build Daemon <$sender>",
|
From => "Hydra Build Daemon <$sender>",
|
||||||
Subject => "Hydra $projectName:$jobsetName evaluation error",
|
Subject => "Hydra $projectName:$jobsetName evaluation error",
|
||||||
],
|
],
|
||||||
body => $body,
|
body => ""
|
||||||
);
|
);
|
||||||
|
$email->body_set($body);
|
||||||
|
|
||||||
print $email->as_string if $ENV{'HYDRA_MAIL_TEST'};
|
print $email->as_string if $ENV{'HYDRA_MAIL_TEST'};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue