--
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/35d1b78c-39e9-46a9-b942-caae4d7f103cn%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/0638577a-35c9-4ee6-8f29-a6acb2160f4dn%40googlegroups.com.
The quotes I had in my example are important, you need single quotes so that Groovy (which pipeline is built on) does not try and interpolate the variable (as you have seen, it doesn't exist in the groovy context).emailext (
to: 'mym...@my.dom,
replyTo: ' mym...@my.dom',
subject: '$DEFAULT_SUBJECT',
body: '<b>testb</b>test<i>testi</i><p>new area</p>',
mimeType: 'text/html'
)
To unsubscribe from this group and stop receiving emails from it, send an email to jenkins...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/0638577a-35c9-4ee6-8f29-a6acb2160f4dn%40googlegroups.com.
--Website: http://earl-of-code.com