Re: Are jelly templates supported in email-ext with pipeline

2017-06-19 Thread Daniel Beck

> On 18. Jun 2017, at 07:43, Seb M  wrote:
> 
> So this does not really seam to work? Or is there some error in my syntax?

Tri triple-single-quoted strings or escaping the $ -- right now, it's looking 
for a DSL variable "CHANGES" as it evaluates the ${CHANGES, …} in the DSL.

-- 
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/D8FD1CCC-311C-47FD-8201-D61A6EC40DE4%40beckweb.net.
For more options, visit https://groups.google.com/d/optout.


Re: Are jelly templates supported in email-ext with pipeline

2017-06-17 Thread Seb M
To pick this up again, i also tried to get this to work and ran into some 
issues:
 emailext (
  subject: "subject",
  body: """STARTED: Job '${env.JOB_NAME} [${env.BUILD_NUMBER}]':
 
   ${CHANGES, showPaths=true}

  
Check console output at "${env.JOB_NAME} 
[${env.BUILD_NUMBER}],
  recipientProviders: [[$class: 'CulpritsRecipientProvider']]
)

would just give me a "Unexpected Token" Groovy Error. Using:
 emailext (
  subject: "subject",
  body: """STARTED: Job '${env.JOB_NAME} [${env.BUILD_NUMBER}]':
 
   ${CHANGES(showPaths: true)}

  
Check console output at "${env.JOB_NAME} 
[${env.BUILD_NUMBER}],
  recipientProviders: [[$class: 'CulpritsRecipientProvider']]
)

i get:

java.lang.NoSuchMethodError: No such DSL method 'CHANGES' found among steps 


So this does not really seam to work? Or is there some error in my syntax?

Regards,

Seb



Am Dienstag, 23. Mai 2017 15:56:20 UTC+2 schrieb slide:
>
> What did you try, and what was the result?
>
>
>>
>>

-- 
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/df5acca1-3f16-45b1-ac22-80657bc187fa%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Are jelly templates supported in email-ext with pipeline

2017-05-23 Thread jerome
Into pipeline they are working to certain extent, but you have to take 
special care when declaring the usage of the body (it does not support 
windows \ into the path, convert to unix path type):

emailext body: '${JELLY_SCRIPT,template="/path/to/templatefile.template"}', 
subject: 'subject', to: 'myt...@test.com', replyTo: 'jenk...@test.com', 
mimeType: 'text/html';

I for one also made a replacement function to replace the variables into 
the template file and write it again with the replacement.

   1. read the template with special string to be replaced
   2. replace some variables into the string
   3. write the template into the tempo folder of the master (since a few 
   release it no more check on the slave with absolute path).
   4. Send the tempo filled copy.

It's the best way I found to do this with a few function I load every 
project. I give it a dictionary to replace all values into the template. I 
also have something that convert windows path to Unix path style and 
generate the whole body entry with a simple path. So I don't bother with 
what is available or not into the Jelly context/parsing anymore. It give me 
more freedom and I known what to expect every time, I also have some style 
replacement based on the project (devel, official, etc) that I can now 
inject based on the project/branch/result...

Another fun part, is to combine multiple template part together based on 
the build results ;-)

-- 
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/ce69e630-9ee6-46bc-8df4-78225e4f5d54%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Are jelly templates supported in email-ext with pipeline

2017-05-23 Thread Slide
What did you try, and what was the result?

On Tue, May 23, 2017 at 6:12 AM Doron Shai  wrote:

> Do you know how i can use the CHANGES script token ? It does not see to be
> possible according to what I tried
>
> On Tue, May 23, 2017 at 4:10 PM, Slide  wrote:
>
>> Many macros should work fine by putting them in the body or subject
>> fields of the pipeline. SCRIPT specifically uses some things from
>> AbstractBuild, which a pipeline job is not, so that is why SCRIPT can't be
>> used. It would need to be updated to support pipeline jobs as well.
>>
>> On Tue, May 23, 2017 at 5:32 AM  wrote:
>>
>>> Any update about that?
>>>
>>> I found it really missing. can not use templates / can not use other
>>> token macros such CHANGES...
>>>
>>> I think that the whole JenkinsFile concept is great but still not mature
>>> for real use...
>>>
>>>
>>> On Thursday, April 21, 2016 at 5:21:52 PM UTC+3, slide wrote:

 The biggest hurdle at this point is that email-ext uses token macro for
 token replacement and token macro is built around AbstractBuild, which
 pipeline does not use. I am looking into adding the capability to token
 macro, and thus email-ext. It's something I am actively working on.

 On Thu, Apr 21, 2016, 06:30 Mark Bidewell  wrote:

> Is support planed for a future release?
>
>
> On Saturday, April 16, 2016 at 2:16:35 PM UTC-4, slide wrote:
>
>> No, this is not currently supported. Token macro, which is the basis
>> for the SCRIPT token doesn't currently support the type of object that
>> pipeline uses.
>>
>> On Tue, Feb 9, 2016 at 10:32 AM Rinaldo DiGiorgio <
>> digital...@gmail.com> wrote:
>>
> I am able to use email-ext with pipeline to send emails.  I am trying
>>> to use jelly templates. I do not see an option for the template 
>>> processor
>>> in the following. I tried adding *SCRIPT* to the body.
>>>
>>>
>>> emailext attachLog: true, body: ' ${SCRIPT,
>>> template="html/test.groovy"}', subject: 'Test of email', to: '
>>> somea...@somedomain.com'
>>>
>>>
>>>
>>>
>>>
>>>
>>> --
>>> 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/f7ed76fc-7c0d-4b5d-b582-5e39d468809d%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/f25baa0e-8051-4e1a-8f75-d3ed4fdea15f%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/d4a6cde1-3f7f-4178-9394-a08cefcdf2d4%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/turlQIsPgCc/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/CAPiUgVd12VDOobAnY6HmJybEWkRps8meY1ODndWxU3nbPeuj_Q%40mail.gmail.com
>> 
>> .
>
>
>> For more options, visit https://groups.google.com/d/optout.
>>
> --
> You received this message because you are subscribed to 

Re: Are jelly templates supported in email-ext with pipeline

2017-05-23 Thread Doron Shai
Do you know how i can use the CHANGES script token ? It does not see to be
possible according to what I tried

On Tue, May 23, 2017 at 4:10 PM, Slide  wrote:

> Many macros should work fine by putting them in the body or subject fields
> of the pipeline. SCRIPT specifically uses some things from AbstractBuild,
> which a pipeline job is not, so that is why SCRIPT can't be used. It would
> need to be updated to support pipeline jobs as well.
>
> On Tue, May 23, 2017 at 5:32 AM  wrote:
>
>> Any update about that?
>>
>> I found it really missing. can not use templates / can not use other
>> token macros such CHANGES...
>>
>> I think that the whole JenkinsFile concept is great but still not mature
>> for real use...
>>
>>
>> On Thursday, April 21, 2016 at 5:21:52 PM UTC+3, slide wrote:
>>>
>>> The biggest hurdle at this point is that email-ext uses token macro for
>>> token replacement and token macro is built around AbstractBuild, which
>>> pipeline does not use. I am looking into adding the capability to token
>>> macro, and thus email-ext. It's something I am actively working on.
>>>
>>> On Thu, Apr 21, 2016, 06:30 Mark Bidewell  wrote:
>>>
 Is support planed for a future release?


 On Saturday, April 16, 2016 at 2:16:35 PM UTC-4, slide wrote:

> No, this is not currently supported. Token macro, which is the basis
> for the SCRIPT token doesn't currently support the type of object that
> pipeline uses.
>
> On Tue, Feb 9, 2016 at 10:32 AM Rinaldo DiGiorgio <
> digital...@gmail.com> wrote:
>
 I am able to use email-ext with pipeline to send emails.  I am trying
>> to use jelly templates. I do not see an option for the template processor
>> in the following. I tried adding *SCRIPT* to the body.
>>
>>
>> emailext attachLog: true, body: ' ${SCRIPT,
>> template="html/test.groovy"}', subject: 'Test of email', to: '
>> somea...@somedomain.com'
>>
>>
>>
>>
>>
>>
>> --
>> 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/f7ed76fc-7c0d-4b5d-b582-
>> 5e39d468809d%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/f25baa0e-8051-4e1a-8f75-
 d3ed4fdea15f%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/d4a6cde1-3f7f-4178-9394-
>> a08cefcdf2d4%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/turlQIsPgCc/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/CAPiUgVd12VDOobAnY6HmJybEWkRps
> 8meY1ODndWxU3nbPeuj_Q%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 

Re: Are jelly templates supported in email-ext with pipeline

2017-05-23 Thread Slide
Many macros should work fine by putting them in the body or subject fields
of the pipeline. SCRIPT specifically uses some things from AbstractBuild,
which a pipeline job is not, so that is why SCRIPT can't be used. It would
need to be updated to support pipeline jobs as well.

On Tue, May 23, 2017 at 5:32 AM  wrote:

> Any update about that?
>
> I found it really missing. can not use templates / can not use other
> token macros such CHANGES...
>
> I think that the whole JenkinsFile concept is great but still not mature
> for real use...
>
>
> On Thursday, April 21, 2016 at 5:21:52 PM UTC+3, slide wrote:
>>
>> The biggest hurdle at this point is that email-ext uses token macro for
>> token replacement and token macro is built around AbstractBuild, which
>> pipeline does not use. I am looking into adding the capability to token
>> macro, and thus email-ext. It's something I am actively working on.
>>
>> On Thu, Apr 21, 2016, 06:30 Mark Bidewell  wrote:
>>
>>> Is support planed for a future release?
>>>
>>>
>>> On Saturday, April 16, 2016 at 2:16:35 PM UTC-4, slide wrote:
>>>
 No, this is not currently supported. Token macro, which is the basis
 for the SCRIPT token doesn't currently support the type of object that
 pipeline uses.

 On Tue, Feb 9, 2016 at 10:32 AM Rinaldo DiGiorgio 
 wrote:

>>> I am able to use email-ext with pipeline to send emails.  I am trying to
> use jelly templates. I do not see an option for the template processor in
> the following. I tried adding *SCRIPT* to the body.
>
>
> emailext attachLog: true, body: ' ${SCRIPT,
> template="html/test.groovy"}', subject: 'Test of email', to: '
> somea...@somedomain.com'
>
>
>
>
>
>
> --
> 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/f7ed76fc-7c0d-4b5d-b582-5e39d468809d%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/f25baa0e-8051-4e1a-8f75-d3ed4fdea15f%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/d4a6cde1-3f7f-4178-9394-a08cefcdf2d4%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/CAPiUgVd12VDOobAnY6HmJybEWkRps8meY1ODndWxU3nbPeuj_Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Are jelly templates supported in email-ext with pipeline

2017-05-23 Thread dorons
Any update about that?

I found it really missing. can not use templates / can not use other 
token macros such CHANGES...
 
I think that the whole JenkinsFile concept is great but still not mature 
for real use...


On Thursday, April 21, 2016 at 5:21:52 PM UTC+3, slide wrote:
>
> The biggest hurdle at this point is that email-ext uses token macro for 
> token replacement and token macro is built around AbstractBuild, which 
> pipeline does not use. I am looking into adding the capability to token 
> macro, and thus email-ext. It's something I am actively working on.
>
> On Thu, Apr 21, 2016, 06:30 Mark Bidewell  
> wrote:
>
>> Is support planed for a future release?
>>
>>
>> On Saturday, April 16, 2016 at 2:16:35 PM UTC-4, slide wrote:
>>
>>> No, this is not currently supported. Token macro, which is the basis for 
>>> the SCRIPT token doesn't currently support the type of object that pipeline 
>>> uses.
>>>
>>> On Tue, Feb 9, 2016 at 10:32 AM Rinaldo DiGiorgio  
>>> wrote:
>>>
>> I am able to use email-ext with pipeline to send emails.  I am trying to 
 use jelly templates. I do not see an option for the template processor in 
 the following. I tried adding *SCRIPT* to the body.


 emailext attachLog: true, body: ' ${SCRIPT, 
 template="html/test.groovy"}', subject: 'Test of email', to: '
 somea...@somedomain.com'






 -- 
 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/f7ed76fc-7c0d-4b5d-b582-5e39d468809d%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/f25baa0e-8051-4e1a-8f75-d3ed4fdea15f%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/d4a6cde1-3f7f-4178-9394-a08cefcdf2d4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Are jelly templates supported in email-ext with pipeline

2016-10-13 Thread András Gaál
Hi, any updates on this?

Regards,
Andrew

On Thursday, April 21, 2016 at 4:21:52 PM UTC+2, slide wrote:
>
> The biggest hurdle at this point is that email-ext uses token macro for 
> token replacement and token macro is built around AbstractBuild, which 
> pipeline does not use. I am looking into adding the capability to token 
> macro, and thus email-ext. It's something I am actively working on.
>
> On Thu, Apr 21, 2016, 06:30 Mark Bidewell  
> wrote:
>
>> Is support planed for a future release?
>>
>>
>> On Saturday, April 16, 2016 at 2:16:35 PM UTC-4, slide wrote:
>>
>>> No, this is not currently supported. Token macro, which is the basis for 
>>> the SCRIPT token doesn't currently support the type of object that pipeline 
>>> uses.
>>>
>>> On Tue, Feb 9, 2016 at 10:32 AM Rinaldo DiGiorgio  
>>> wrote:
>>>
>> I am able to use email-ext with pipeline to send emails.  I am trying to 
 use jelly templates. I do not see an option for the template processor in 
 the following. I tried adding *SCRIPT* to the body.


 emailext attachLog: true, body: ' ${SCRIPT, 
 template="html/test.groovy"}', subject: 'Test of email', to: '
 somea...@somedomain.com'






 -- 
 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/f7ed76fc-7c0d-4b5d-b582-5e39d468809d%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/f25baa0e-8051-4e1a-8f75-d3ed4fdea15f%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/dd84fcf4-ea83-485c-af8b-407a8f7c5d1a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Are jelly templates supported in email-ext with pipeline

2016-04-21 Thread Slide
The biggest hurdle at this point is that email-ext uses token macro for
token replacement and token macro is built around AbstractBuild, which
pipeline does not use. I am looking into adding the capability to token
macro, and thus email-ext. It's something I am actively working on.

On Thu, Apr 21, 2016, 06:30 Mark Bidewell  wrote:

> Is support planed for a future release?
>
>
> On Saturday, April 16, 2016 at 2:16:35 PM UTC-4, slide wrote:
>
>> No, this is not currently supported. Token macro, which is the basis for
>> the SCRIPT token doesn't currently support the type of object that pipeline
>> uses.
>>
>> On Tue, Feb 9, 2016 at 10:32 AM Rinaldo DiGiorgio 
>> wrote:
>>
> I am able to use email-ext with pipeline to send emails.  I am trying to
>>> use jelly templates. I do not see an option for the template processor in
>>> the following. I tried adding *SCRIPT* to the body.
>>>
>>>
>>> emailext attachLog: true, body: ' ${SCRIPT,
>>> template="html/test.groovy"}', subject: 'Test of email', to: '
>>> somea...@somedomain.com'
>>>
>>>
>>>
>>>
>>>
>>>
>>> --
>>> 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/f7ed76fc-7c0d-4b5d-b582-5e39d468809d%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/f25baa0e-8051-4e1a-8f75-d3ed4fdea15f%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/CAPiUgVcr_zTejynvxwEtR_MGv4hcxNUkfkAR3sK987iniUxR9g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Are jelly templates supported in email-ext with pipeline

2016-04-21 Thread Mark Bidewell
Is support planed for a future release?

On Saturday, April 16, 2016 at 2:16:35 PM UTC-4, slide wrote:
>
> No, this is not currently supported. Token macro, which is the basis for 
> the SCRIPT token doesn't currently support the type of object that pipeline 
> uses.
>
> On Tue, Feb 9, 2016 at 10:32 AM Rinaldo DiGiorgio  > wrote:
>
>> I am able to use email-ext with pipeline to send emails.  I am trying to 
>> use jelly templates. I do not see an option for the template processor in 
>> the following. I tried adding *SCRIPT* to the body.
>>
>>
>> emailext attachLog: true, body: ' ${SCRIPT, 
>> template="html/test.groovy"}', subject: 'Test of email', to: '
>> somea...@somedomain.com '
>>
>>
>>
>>
>>
>>
>> -- 
>> 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/f7ed76fc-7c0d-4b5d-b582-5e39d468809d%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/f25baa0e-8051-4e1a-8f75-d3ed4fdea15f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Are jelly templates supported in email-ext with pipeline

2016-04-16 Thread Slide
No, this is not currently supported. Token macro, which is the basis for
the SCRIPT token doesn't currently support the type of object that pipeline
uses.

On Tue, Feb 9, 2016 at 10:32 AM Rinaldo DiGiorgio 
wrote:

> I am able to use email-ext with pipeline to send emails.  I am trying to
> use jelly templates. I do not see an option for the template processor in
> the following. I tried adding *SCRIPT* to the body.
>
>
> emailext attachLog: true, body: ' ${SCRIPT,
> template="html/test.groovy"}', subject: 'Test of email', to: '
> someaddr...@somedomain.com'
>
>
>
>
>
>
> --
> 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/f7ed76fc-7c0d-4b5d-b582-5e39d468809d%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/CAPiUgVe8YuTd0yO6R8RhM3LgPkT70w7Dz3DNG2xfKaiLkyBciA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.