Re: location of email-ext template file

2019-03-27 Thread kalkin powale
Hi, I am using groovy scripts and I use this command after adding my template here config-file-provider plugin. and it worked fine. body: '''${SCRIPT, template="managed:custom_groovy_Email.groovy"}''', On Monday, 18 June 2018 09:04:02 UTC+2, Mani Agnihotri wrote: > > Hi, > > I know this is old

Re: location of email-ext template file

2018-01-04 Thread slmpskece
Hi, I also getting same error. Jelly file [managed:EmailTemplate] was not found in $JENKINS_HOME/email-templates. I already installed Config File Provider Plugin but i dont't know how to refer in my email template.

Re: location of email-ext template file

2017-12-07 Thread Chris T
I will try that, and for versions: Jenkins: 2.86 Email ext plugin: 2.60 Config File Provider: 2.16.4 On Thursday, December 7, 2017 at 10:44:26 AM UTC-5, slide wrote: > > Can you try enabling debug mode for email-ext (there is a checkbox in the > global config, possibly under advanced) and se

Re: location of email-ext template file

2017-12-07 Thread Slide
Can you try enabling debug mode for email-ext (there is a checkbox in the global config, possibly under advanced) and see if there is anything in the logs that could help pinpoint the issue? Also, I didn't see what versions of Jenkins, email-ext and config-file-provider you are using, can you share

Re: location of email-ext template file

2017-12-06 Thread Chris T
Just to narrow down possible failure points, I did make a simple free style job where I added in the same command in the default content box of the editable email notification. And got same results as in my pipeline. On Wednesday, December 6, 2017 at 4:26:12 PM UTC-5, slide wrote: > > Yes, that

Re: location of email-ext template file

2017-12-06 Thread Chris T
The plugins were install a while ago, and have been restarted (at least a few times) since then. On Wednesday, December 6, 2017 at 5:02:04 PM UTC-5, Daniel Beck wrote: > > > > On 6. Dec 2017, at 19:42, Chris T > > wrote: > > > > So yes I do have config-file-provider plugin installed. > > Hav

Re: location of email-ext template file

2017-12-06 Thread Daniel Beck
> On 6. Dec 2017, at 19:42, Chris T wrote: > > So yes I do have config-file-provider plugin installed. Have you restarted Jenkins since you installed either of these plugins? Optional features may not be available otherwise. -- You received this message because you are subscribed to the Goog

Re: location of email-ext template file

2017-12-06 Thread Slide
Yes, that is the point. I'm not sure why it isn't working for you, I am using pretty much the same thing in my setup and it works (though I am not sure I have tried from a pipeline job). On Wed, Dec 6, 2017 at 1:28 PM Chris T wrote: > I thought the point of config-file-provider plugin was so we

Re: location of email-ext template file

2017-12-06 Thread Chris T
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, jer...@bodycad.com wrote: > > For security reason I was told, the template must reside on the master > (you can

Re: location of email-ext template file

2017-12-06 Thread Chris T
I originally had the template name without ".jelly", but got same (not working) results. On Wednesday, December 6, 2017 at 3:01:42 PM UTC-5, slide wrote: > > Just for kicks, can you try removing .jelly from the name of the template? > > On Wed, Dec 6, 2017 at 12:27 PM Chris T > wrote: > >> Thank

Re: location of email-ext template file

2017-12-06 Thread jerome
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: 't

Re: location of email-ext template file

2017-12-06 Thread Slide
Just for kicks, can you try removing .jelly from the name of the template? On Wed, Dec 6, 2017 at 12:27 PM Chris T wrote: > Thanks slide on the fast response! > So yes I do have config-file-provider plugin installed. > I've attached screenshots of screenshots of my set up. > > In my pipeline Jen

Re: location of email-ext template file

2017-12-06 Thread Slide
Do you have the config-file-provider plugin installed? If so, you specify the NAME of the template that you create in the managed scripts area of the global configuration after managed: On Wed, Dec 6, 2017 at 10:24 AM Chris T wrote: > And how is "config-file-provider" used? > > In the emailext:

Re: location of email-ext template file

2017-12-06 Thread Chris T
And how is "config-file-provider" used? In the emailext: body: '${JELLY_SCRIPT, template="managed:"}', or body: '${SCRIPT, template="managed:"}', But this isn't working for me. On Sunday, March 1, 2015 at 4:16:19 PM UTC-5, slide wrote: > > The other option is if you install the config-file-pro

Re: location of email-ext template file

2015-03-01 Thread Slide
The other option is if you install the config-file-provider plugin, you can put the template in there and not have to worry about using the file system location. I need to go and update the wiki with a bunch of information... On Sun, Mar 1, 2015 at 8:42 AM Harish ES wrote: > Thanks Slide, from r

Re: location of email-ext template file

2015-03-01 Thread Harish ES
Thanks Slide, from reading plugin wiki, it looks I need to make a copy of jelly template(from github?) with custom name and edit it and follow below steps pasted from wiki: Using custom Jelly scripts (those not packaged with email-ext) requires the cooperation of your Hudson administrator. The ste

Re: location of email-ext template file

2015-03-01 Thread Slide
Check the wiki, there is information there on that exact thing. On Sun, Mar 1, 2015, 03:59 esharish wrote: > I can use the default html template from email-ext plugin, but I cannot > locate the template file under the plugin directory or Jenkins home to edit > it. Where can I edit this default h

location of email-ext template file

2015-03-01 Thread esharish
I can use the default html template from email-ext plugin, but I cannot locate the template file under the plugin directory or Jenkins home to edit it. Where can I edit this default html.jelly template? I am using latest Jenkins 1.598 and email-ext template 2.39. -- You received this message b