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

11 үзсэн
Эхний уншаагүй мессеж руу алгасах

zakyn

уншаагүй,
2019 оны 7-р сарын 9 08:16:012019.07.09
-д Jenkins Users
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

Slide

уншаагүй,
2019 оны 7-р сарын 9 10:30:302019.07.09
-д Jenkins User Mailing List
There is not currently a way to do this.

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


--

Vladimir Zak

уншаагүй,
2019 оны 7-р сарын 9 10:52:022019.07.09
-д jenkins...@googlegroups.com
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 <slide...@gmail.com> napsal:

Ivan Fernandez Calvo

уншаагүй,
2019 оны 7-р сарын 13 06:39:152019.07.13
-д Jenkins Users
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
Бүгдэд хариулах
Зохиогчид хариу бичих
Шилжүүлэх
0 шинэ мессеж