I'm using:
extended email 
<https://wiki.jenkins-ci.org/display/JENKINS/Email-ext+plugin> version 
2.38.1

on jenkins: 1.542

I added the html.jelly 
<https://raw.githubusercontent.com/jenkinsci/email-ext-plugin/master/src/main/resources/hudson/plugins/emailext/templates/html.jelly>
 
script at <jenkins home>/email-templates/html.jelly

and set the email content to: ${JELLY_SCRIPT,template="html"}

It worked like a charm...until I needed to change it(i removed the built 
artifacts sections) . I thought I could modify the script and restart 
tomcat, but the changes I had made were not executed.

I even removed the file but it is still somehow executing the old jelly 
script. I did some template testing (jenkins_url/jobname/templateTest/) and 
the template test doesn't find the file on the system (html.jelly)... but i 
hit "Go!" and it executes the old script again.

I can think of 2 reasons why:

   1. My original script was never executing in the first place - which is 
   why changing it didn't affect it.
   2. The script is cached somewhere(somehow restarting tomcat and/or 
   "reloading configuration from disk" doesn't clear this?)


Has anyone else come across an issue like this?

Thanks,
Xavier

-- 
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].
For more options, visit https://groups.google.com/d/optout.

Reply via email to