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 post, but I figured a lot of people might be struggling 
> from the same problem still (just like I was). The problem is you are 
> probably using the *ID* of the template and not the *Name*. 
>
>1. Make the name free of whitespaces
>2. Use the name instead of ID
>
> This should solve the issue.
>
> Thanks!
>
> On Thursday, January 4, 2018 at 3:29:07 PM UTC+5:30, Sathishkumar Prakash 
> wrote:
>>
>> 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.
>>
>>
>>
>> in email text 
>>
>>
>>${JELLY_SCRIPT, template="managed:EmailTemplate.jelly"}
>>
>>
>>
>> I also tried 
>>
>>
>>${JELLY_SCRIPT, template="managed:EmailTemplate"}
>>
>>
>>
>> can anyone please help to solve this issue
>>
>>
>>

-- 
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 jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/e1c32c75-5202-4246-81d8-ad97cd3a36b3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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.



in email text 


   ${JELLY_SCRIPT, template="managed:EmailTemplate.jelly"}



I also tried 


   ${JELLY_SCRIPT, template="managed:EmailTemplate"}



can anyone please help to solve this issue


-- 
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 jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/e55c3dd8-5f94-44df-b786-89f8ab13abf4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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 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 
> that as well?
>
> On Wed, Dec 6, 2017 at 3:46 PM Chris T  
> wrote:
>
>> 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 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 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 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 jenkinsci-use...@googlegroups.com.
>>>
>>>
 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.

>>> -- 
>> 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 jenkinsci-use...@googlegroups.com .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/jenkinsci-users/78326aec-7f5e-42ba-9f59-70ddd9a0cca1%40googlegroups.com
>>  
>> 
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
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 jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/96564b74-00c2-4bd9-b2a9-1ece5900b98f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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
that as well?

On Wed, Dec 6, 2017 at 3:46 PM Chris T  wrote:

> 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 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 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 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 jenkinsci-use...@googlegroups.com.
>>
>>
>>> 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.
>>>
>> --
> 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 jenkinsci-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-users/78326aec-7f5e-42ba-9f59-70ddd9a0cca1%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAPiUgVfEL7cMjia%3DVFyPS%2BAAQmMgeHzTnEErBg55r_%2Bn7sCbVw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


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 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 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 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 jenkinsci-use...@googlegroups.com .
>> 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.
>>
>

-- 
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 jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/78326aec-7f5e-42ba-9f59-70ddd9a0cca1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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. 
>
> 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 Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/8d20560a-7bd1-4584-bcf6-c57199c87bc6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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 Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/E460F9C5-A881-464D-8DEF-98D69DE6870D%40beckweb.net.
For more options, visit https://groups.google.com/d/optout.


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 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 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 jenkinsci-users+unsubscr...@googlegroups.com.
> 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.
>

-- 
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 jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAPiUgVc_7yzyqw-EhG2%3De93hKnNMToS%3DHuoVN8aVs%2BCW3HCVQQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


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 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 jenkinsci-users+unsubscr...@googlegroups.com.
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.


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:
>
>> 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 Jenkinsfile, I would add:
>> emailext(
>> to: '',
>> subject: 'test email',
>> body:'${JELLY_SCRIPT, 
>> template="managed:JellyEmailTemplate.jelly"}' ,
>> mimeType: 'text/html'
>> )
>>
>> But the email response would say: 
>>
>> Jelly file [managed:JellyEmailTemplate.jelly] was not found in 
>> $JENKINS_HOME/email-templates.
>>
>> Do you know why the pipeline doesn't pick up my config files?
>>
>>
>>
>>
>>
>> On Wednesday, December 6, 2017 at 12:25:55 PM UTC-5, slide wrote:
>>
>>> 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:
 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-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 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 steps are 
>> relatively simple:
>>
>>1. Create the Jelly script. The name of the script should be 
>>*.jelly*. It is important the name ends in *.jelly*.
>>2. Have your Jenkins administrator place the script inside 
>>$JENKINS_HOME_\email-templates_.
>>
>>
>>
>> On Sun, Mar 1, 2015 at 5:05 PM, Slide  wrote:
>>
>>> 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 html.jelly template? I am 
 using 
 latest Jenkins 1.598 and email-ext template 2.39.

 -- 
 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 jenkinsci-use...@googlegroups.com.
 To view this discussion on the web visit 
 https://groups.google.com/d/msgid/jenkinsci-users/96e7e9f6-d4c9-4e77-8ca7-00bdce9462da%40googlegroups.com
  
 
 .
 For more options, visit https://groups.google.com/d/optout.

>>> -- 
>>> You received this message because you are subscribed to a topic in 
>>> the Google Groups "Jenkins Users" group.
>>> To unsubscribe from this topic, visit 
>>> https://groups.google.com/d/topic/jenkinsci-users/_FgZG06aqGc/unsubscribe
>>> .
>>> To unsubscribe from this group and all its topics, send an email to 
>>> jenkinsci-use...@googlegroups.com.
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/jenkinsci-users/CAPiUgVchzFuyQHWuw4-CsxqZ-tjSuGxteE9xZkMkWaJX%3DAcKcw%40mail.gmail.com
>>>  
>>> 
>>> .
>>
>>
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>> -- 
>> 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 

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: '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 jenkinsci-users+unsubscr...@googlegroups.com.
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.


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 Jenkinsfile, I would add:
> emailext(
> to: '',
> subject: 'test email',
> body:'${JELLY_SCRIPT,
> template="managed:JellyEmailTemplate.jelly"}' ,
> mimeType: 'text/html'
> )
>
> But the email response would say:
>
> Jelly file [managed:JellyEmailTemplate.jelly] was not found in
> $JENKINS_HOME/email-templates.
>
> Do you know why the pipeline doesn't pick up my config files?
>
>
>
>
>
> On Wednesday, December 6, 2017 at 12:25:55 PM UTC-5, slide wrote:
>
>> 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:
>>> 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-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 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 steps are
> relatively simple:
>
>1. Create the Jelly script. The name of the script should be
>*.jelly*. It is important the name ends in *.jelly*.
>2. Have your Jenkins administrator place the script inside
>$JENKINS_HOME_\email-templates_.
>
>
>
> On Sun, Mar 1, 2015 at 5:05 PM, Slide  wrote:
>
>> 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 html.jelly template? I am 
>>> using
>>> latest Jenkins 1.598 and email-ext template 2.39.
>>>
>>> --
>>> 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 jenkinsci-use...@googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/jenkinsci-users/96e7e9f6-d4c9-4e77-8ca7-00bdce9462da%40googlegroups.com
>>> 
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>> --
>> You received this message because you are subscribed to a topic in
>> the Google Groups "Jenkins Users" group.
>> To unsubscribe from this topic, visit
>> https://groups.google.com/d/topic/jenkinsci-users/_FgZG06aqGc/unsubscribe
>> .
>> To unsubscribe from this group and all its topics, send an email to
>> jenkinsci-use...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/jenkinsci-users/CAPiUgVchzFuyQHWuw4-CsxqZ-tjSuGxteE9xZkMkWaJX%3DAcKcw%40mail.gmail.com
>> 
>> .
>
>
>> For more options, visit https://groups.google.com/d/optout.
>>
> --
> 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 jenkinsci-use...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-users/CACKaJRPcdnhiQwU0DevOju-5U%3DDJYxwhPKo97Zt1uTtnZUUxhg%40mail.gmail.com
> 

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:
> 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-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 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 steps are relatively
>>> simple:
>>>
>>>1. Create the Jelly script. The name of the script should be
>>>*.jelly*. It is important the name ends in *.jelly*.
>>>2. Have your Jenkins administrator place the script inside
>>>$JENKINS_HOME_\email-templates_.
>>>
>>>
>>>
>>> On Sun, Mar 1, 2015 at 5:05 PM, Slide  wrote:
>>>
 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 html.jelly template? I am using
> latest Jenkins 1.598 and email-ext template 2.39.
>
> --
> 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 jenkinsci-use...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-users/96e7e9f6-d4c9-4e77-8ca7-00bdce9462da%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>
 --
 You received this message because you are subscribed to a topic in the
 Google Groups "Jenkins Users" group.
 To unsubscribe from this topic, visit
 https://groups.google.com/d/topic/jenkinsci-users/_FgZG06aqGc/unsubscribe
 .
 To unsubscribe from this group and all its topics, send an email to
 jenkinsci-use...@googlegroups.com.
 To view this discussion on the web visit
 https://groups.google.com/d/msgid/jenkinsci-users/CAPiUgVchzFuyQHWuw4-CsxqZ-tjSuGxteE9xZkMkWaJX%3DAcKcw%40mail.gmail.com
 
 .
>>>
>>>
 For more options, visit https://groups.google.com/d/optout.

>>> --
>>> 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 jenkinsci-use...@googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/jenkinsci-users/CACKaJRPcdnhiQwU0DevOju-5U%3DDJYxwhPKo97Zt1uTtnZUUxhg%40mail.gmail.com
>>> 
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>> --
> 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 jenkinsci-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-users/b943c080-e6af-4e56-bee2-01e17d5b17a2%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 

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-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 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 steps are relatively 
>> simple:
>>
>>1. Create the Jelly script. The name of the script should be 
>>*.jelly*. It is important the name ends in *.jelly*.
>>2. Have your Jenkins administrator place the script inside 
>>$JENKINS_HOME_\email-templates_.
>>
>>
>>
>> On Sun, Mar 1, 2015 at 5:05 PM, Slide  
>> wrote:
>>
>>> 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 html.jelly template? I am using latest 
 Jenkins 1.598 and email-ext template 2.39.

 -- 
 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 jenkinsci-use...@googlegroups.com .
 To view this discussion on the web visit 
 https://groups.google.com/d/msgid/jenkinsci-users/96e7e9f6-d4c9-4e77-8ca7-00bdce9462da%40googlegroups.com
  
 
 .
 For more options, visit https://groups.google.com/d/optout.

>>> -- 
>>> You received this message because you are subscribed to a topic in the 
>>> Google Groups "Jenkins Users" group.
>>> To unsubscribe from this topic, visit 
>>> https://groups.google.com/d/topic/jenkinsci-users/_FgZG06aqGc/unsubscribe
>>> .
>>> To unsubscribe from this group and all its topics, send an email to 
>>> jenkinsci-use...@googlegroups.com .
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/jenkinsci-users/CAPiUgVchzFuyQHWuw4-CsxqZ-tjSuGxteE9xZkMkWaJX%3DAcKcw%40mail.gmail.com
>>>  
>>> 
>>> .
>>
>>
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>> -- 
>> 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 jenkinsci-use...@googlegroups.com .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/jenkinsci-users/CACKaJRPcdnhiQwU0DevOju-5U%3DDJYxwhPKo97Zt1uTtnZUUxhg%40mail.gmail.com
>>  
>> 
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
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 jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/b943c080-e6af-4e56-bee2-01e17d5b17a2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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 harish...@gmail.com wrote:

 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 steps are relatively
 simple:

1. Create the Jelly script. The name of the script should be
*name.jelly*. It is important the name ends in *.jelly*.
2. Have your Jenkins administrator place the script inside
$JENKINS_HOME_\email-templates_.



 On Sun, Mar 1, 2015 at 5:05 PM, Slide slide.o@gmail.com wrote:

 Check the wiki, there is information there on that exact thing.

 On Sun, Mar 1, 2015, 03:59 esharish harish...@gmail.com 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 html.jelly template? I am using latest
 Jenkins 1.598 and email-ext template 2.39.

 --
 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 jenkinsci-users+unsubscr...@googlegroups.com.
 To view this discussion on the web visit
 https://groups.google.com/d/msgid/jenkinsci-users/96e7e9f6-d4c9-4e77-8ca7-00bdce9462da%40googlegroups.com
 https://groups.google.com/d/msgid/jenkinsci-users/96e7e9f6-d4c9-4e77-8ca7-00bdce9462da%40googlegroups.com?utm_medium=emailutm_source=footer
 .
 For more options, visit https://groups.google.com/d/optout.

  --
 You received this message because you are subscribed to a topic in the
 Google Groups Jenkins Users group.
 To unsubscribe from this topic, visit
 https://groups.google.com/d/topic/jenkinsci-users/_FgZG06aqGc/unsubscribe
 .
 To unsubscribe from this group and all its topics, send an email to
 jenkinsci-users+unsubscr...@googlegroups.com.
 To view this discussion on the web visit
 https://groups.google.com/d/msgid/jenkinsci-users/CAPiUgVchzFuyQHWuw4-CsxqZ-tjSuGxteE9xZkMkWaJX%3DAcKcw%40mail.gmail.com
 https://groups.google.com/d/msgid/jenkinsci-users/CAPiUgVchzFuyQHWuw4-CsxqZ-tjSuGxteE9xZkMkWaJX%3DAcKcw%40mail.gmail.com?utm_medium=emailutm_source=footer
 .


 For more options, visit https://groups.google.com/d/optout.

  --
 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 jenkinsci-users+unsubscr...@googlegroups.com.
 To view this discussion on the web visit
 https://groups.google.com/d/msgid/jenkinsci-users/CACKaJRPcdnhiQwU0DevOju-5U%3DDJYxwhPKo97Zt1uTtnZUUxhg%40mail.gmail.com
 https://groups.google.com/d/msgid/jenkinsci-users/CACKaJRPcdnhiQwU0DevOju-5U%3DDJYxwhPKo97Zt1uTtnZUUxhg%40mail.gmail.com?utm_medium=emailutm_source=footer
 .
 For more options, visit https://groups.google.com/d/optout.


-- 
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 jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAPiUgVdaVCnstwympfdemOZJxGyF0jfpxayuDF1HVUz3B%2BUTUw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


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 harish...@gmail.com 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 html.jelly template? I am using latest
 Jenkins 1.598 and email-ext template 2.39.

 --
 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 jenkinsci-users+unsubscr...@googlegroups.com.
 To view this discussion on the web visit
 https://groups.google.com/d/msgid/jenkinsci-users/96e7e9f6-d4c9-4e77-8ca7-00bdce9462da%40googlegroups.com
 https://groups.google.com/d/msgid/jenkinsci-users/96e7e9f6-d4c9-4e77-8ca7-00bdce9462da%40googlegroups.com?utm_medium=emailutm_source=footer
 .
 For more options, visit https://groups.google.com/d/optout.


-- 
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 jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAPiUgVchzFuyQHWuw4-CsxqZ-tjSuGxteE9xZkMkWaJX%3DAcKcw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


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 steps are relatively simple:

   1. Create the Jelly script. The name of the script should be
   *name.jelly*. It is important the name ends in *.jelly*.
   2. Have your Jenkins administrator place the script inside
   $JENKINS_HOME_\email-templates_.



On Sun, Mar 1, 2015 at 5:05 PM, Slide slide.o@gmail.com wrote:

 Check the wiki, there is information there on that exact thing.

 On Sun, Mar 1, 2015, 03:59 esharish harish...@gmail.com 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 html.jelly template? I am using latest
 Jenkins 1.598 and email-ext template 2.39.

 --
 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 jenkinsci-users+unsubscr...@googlegroups.com.
 To view this discussion on the web visit
 https://groups.google.com/d/msgid/jenkinsci-users/96e7e9f6-d4c9-4e77-8ca7-00bdce9462da%40googlegroups.com
 https://groups.google.com/d/msgid/jenkinsci-users/96e7e9f6-d4c9-4e77-8ca7-00bdce9462da%40googlegroups.com?utm_medium=emailutm_source=footer
 .
 For more options, visit https://groups.google.com/d/optout.

  --
 You received this message because you are subscribed to a topic in the
 Google Groups Jenkins Users group.
 To unsubscribe from this topic, visit
 https://groups.google.com/d/topic/jenkinsci-users/_FgZG06aqGc/unsubscribe.
 To unsubscribe from this group and all its topics, send an email to
 jenkinsci-users+unsubscr...@googlegroups.com.
 To view this discussion on the web visit
 https://groups.google.com/d/msgid/jenkinsci-users/CAPiUgVchzFuyQHWuw4-CsxqZ-tjSuGxteE9xZkMkWaJX%3DAcKcw%40mail.gmail.com
 https://groups.google.com/d/msgid/jenkinsci-users/CAPiUgVchzFuyQHWuw4-CsxqZ-tjSuGxteE9xZkMkWaJX%3DAcKcw%40mail.gmail.com?utm_medium=emailutm_source=footer
 .

 For more options, visit https://groups.google.com/d/optout.


-- 
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 jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CACKaJRPcdnhiQwU0DevOju-5U%3DDJYxwhPKo97Zt1uTtnZUUxhg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.