forked from lix-project/hydra
Emable overriding the email template.
The HYDRA_EMAIL_TEMPLATE env var can be set to any value understood by https://metacpan.org/module/Template#process-template-vars-output-options as the $template argument. Signed-off-by: Shea Levy <shea@shealevy.com>
This commit is contained in:
parent
be3ca0dd84
commit
304f8a5714
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ use Hydra::Helper::Nix;
|
|||
use Hydra::Helper::CatalystUtils;
|
||||
|
||||
|
||||
my $template = <<EOF;
|
||||
my $template = $ENV{'HYDRA_EMAIL_TEMPLATE'} || <<EOF;
|
||||
Hi,
|
||||
|
||||
The status of Hydra job [% showJobName(build) %] [% IF showSystem %](on [% build.system %]) [% END %][% IF prevBuild && build.buildstatus != prevBuild.buildstatus %]has changed from "[% showStatus(prevBuild) %]" to "[% showStatus(build) %]"[% ELSE %]is "[% showStatus(build) %]"[% END %]. For details, see
|
||||
|
|
Loading…
Reference in a new issue