Victor Sudakov schrieb am Dienstag, 28. September 2021 um 09:21:26 UTC+2:
> Hello Colleagues, > > Sorry for being dumb. I'm currently using the following simple step: > > post { > failure { > emailext body: 'Check console output at $BUILD_URL to view the results', > subject: '.... > } > } > > If I want to replace this simple oneliner with a Jelly template, where > should > I insert the ${JELLY_SCRIPT,template="text"} variable? I've tried the > following: > > emailext body: '${JELLY_SCRIPT,template="text"}', subject: '.... > > did you mena template="html" ? > But it resulted in a very laconic mail body: > > Seems like that is correct for the text template. Many things in the output will only be there if you also have the correct steps in your pipeline ( cobertura coverage, junit results). And as some of those are outdated you probably need to write your own template to use the newer replacement versions. Björn -- 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/b264603a-f0ac-4940-a79e-5883759ef10fn%40googlegroups.com.