I thought the point of config-file-provider plugin was so we don't have to store the template in the $JENKINS_HOME/email-templates?
On Wednesday, December 6, 2017 at 3:08:43 PM UTC-5, [email protected] wrote: > > For security reason I was told, the template must reside on the master > (you can stash it and unstash it into the email template folder on the > master or you can read it and write it on master node): > > node('master') > { > writeFile([file: "${JENKINS_HOME}/email-templates/mytempofile.jelly", > text: 'template data read from other file']); > } > emailext body: ... > > At least it was my workaround until I find something less retarded. > -- 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/38b1229b-248c-4a53-9308-45c2006213f2%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
