Custom email template configuration

317 views
Skip to first unread message

Aybora

unread,
Mar 15, 2017, 10:48:00 AM3/15/17
to rundeck-discuss
Hi,

I'm trying to configure the custom email templates for specific jobs as described here: http://rundeck.org/docs/administration/email-settings.html#custom-email-templates

But I'm wondering how to configure the template location in rundeck-config.properties.
The documentation says to use:

rundeck.mail.[project].[jobname].template.file=[path to template file]

But how do format [project] and [jobname] if they contain spaces and brackets?


Cheers,
Aybora

Greg Schueler

unread,
Mar 15, 2017, 1:58:16 PM3/15/17
to rundeck...@googlegroups.com
The file is using Java Properties format

You can use \ (backslash) to escape: (space), #, !, =, :  in the key name

if your project is "My Project"

rundeck.mail.My\ Project.My\ Job\!\ [123].template.file=...

--
You received this message because you are subscribed to the Google Groups "rundeck-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rundeck-discu...@googlegroups.com.
To post to this group, send email to rundeck...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rundeck-discuss/2278d6f1-bdaf-4dc4-9145-95bedb8b7f97%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Ricardo Jahuar Leon Linares

unread,
Mar 7, 2018, 5:45:39 PM3/7/18
to rundeck-discuss
Hi.

how would I add these lines in a rundeck-config.groovy file.

Greetings.
Reply all
Reply to author
Forward
0 new messages