Re: Is there a way how to use template from email extension template plugin(emailexttemplates) in pipeline?

2019-07-13 Thread Ivan Fernandez Calvo
Hi,

We've had the similar requirement, finally, we use a groovy template and a 
custom step from our shared pipeline library to make the thing, we got the 
idea from this nice article Prettifying Jenkins’ email notifications 


References
Extending with Shared Libraries 


-- 
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/0e1b9034-f0d2-4601-8f77-b33bdd44a134%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Is there a way how to use template from email extension template plugin(emailexttemplates) in pipeline?

2019-07-09 Thread Vladimir Zak
Hi, thanks.

Is there a way to have a email templates in files and then using some
scripting to fill emailext pipeline steps with the predefined body,
subject, recepients,...

Thanks

Vladimir

Dne út 9. čvc 2019 16:30 uživatel Slide  napsal:

> There is not currently a way to do this.
>
> On Tue, Jul 9, 2019 at 5:16 AM zakyn  wrote:
>
>> Hello,
>>
>> we are using the email extension template plugin (
>> https://plugins.jenkins.io/emailext-template) where we can define
>> different email templates and then send them.
>>
>> Is there a way how we could use it in pipeline please (select predefined
>> template and send emails)?
>>
>> Thank you.
>>
>> Vladimir
>>
>> --
>> 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/a0b706c5-014c-45e0-91d6-3aa39e9ad97d%40googlegroups.com
>> 
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
> --
> Website: http://earl-of-code.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/CAPiUgVeKtZoVTRAMwywopmEdmDRuh1dTSa%3DhrY9ra3NDbG%3D3dQ%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/CAHRFW7jvY4Wvak8rHuTG8BDPRWc9C36btXVyr7Pva6vih%3DoRrQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Is there a way how to use template from email extension template plugin(emailexttemplates) in pipeline?

2019-07-09 Thread Slide
There is not currently a way to do this.

On Tue, Jul 9, 2019 at 5:16 AM zakyn  wrote:

> Hello,
>
> we are using the email extension template plugin (
> https://plugins.jenkins.io/emailext-template) where we can define
> different email templates and then send them.
>
> Is there a way how we could use it in pipeline please (select predefined
> template and send emails)?
>
> Thank you.
>
> Vladimir
>
> --
> 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/a0b706c5-014c-45e0-91d6-3aa39e9ad97d%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>


-- 
Website: http://earl-of-code.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/CAPiUgVeKtZoVTRAMwywopmEdmDRuh1dTSa%3DhrY9ra3NDbG%3D3dQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Is there a way how to use template from email extension template plugin(emailexttemplates) in pipeline?

2019-07-09 Thread zakyn
Hello,

we are using the email extension template plugin 
(https://plugins.jenkins.io/emailext-template) where we can define 
different email templates and then send them.

Is there a way how we could use it in pipeline please (select predefined 
template and send emails)?

Thank you.

Vladimir

-- 
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/a0b706c5-014c-45e0-91d6-3aa39e9ad97d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.