> I am trying to find a way to override the default groovy-html.template for
> email-ext.
>
> The main reason is because we have several declarative pipelines that use
> a post action for catching build failures as such:
>
> ```
>                 emailext attachLog: true, body: '''${SCRIPT,
> template="groovy-html.template"}''',
>                 subject: '[ITCO] Failure: ${JOB_NAME}',
>                 to: '[email protected]',
>                 mimeType: 'text/html'
>
> ```
>
> I tried placing the exact same name of the template *groovy-html.template* in
> ${JENKINS_HOME}\email-templates but it doesn't look like it gets used.
>
> Outside of naming this template to something else, does anyone have any
> ideas?
>
> Thanks
>

Zach

>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAEL8OktAwZ0Rsa%3DKC4WSzeZ7sfzrnDhq-BBNozku6A9GGYtu%2BA%40mail.gmail.com.

Reply via email to