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/4d6da8a2-8b3e-45c2-8545-bf858e768378%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.