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

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

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

zakyn-2
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 [hidden email].
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.
Reply | Threaded
Open this post in threaded view
|

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

slide
There is not currently a way to do this.

On Tue, Jul 9, 2019 at 5:16 AM zakyn <[hidden email]> 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 [hidden email].
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.


--

--
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 [hidden email].
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.
Reply | Threaded
Open this post in threaded view
|

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

zakyn-2
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 <[hidden email]> napsal:
There is not currently a way to do this.

On Tue, Jul 9, 2019 at 5:16 AM zakyn <[hidden email]> 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 [hidden email].
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.


--

--
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 [hidden email].
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 [hidden email].
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.
Reply | Threaded
Open this post in threaded view
|

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

Ivan Fernandez Calvo
In reply to this post by zakyn-2
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

--
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 [hidden email].
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.