Cheers, although I'm not using pipeline and I guess this can;t be pulled out to just be put in a groovy script build step?
On Friday, April 29, 2016 at 3:53:55 AM UTC+1, Craig Rodrigues wrote: > > Niksan, > > Take a look at this Pipeline script I wrote: > > > https://github.com/freebsd/freebsd-ci/blob/master/scripts/build/build-test.groovy#L233 > > which sends e-mail as a post-build step in case of failures. > > -- > Craig > > > On Thu, Apr 28, 2016 at 7:44 AM, 'Niksan' via Jenkins Users < > jenkins...@googlegroups.com <javascript:>> wrote: > >> As the email-ext plugin itself doesn't do it being a post-build step, is >> there anything similar that can send an email as a build step? I'm trying >> to avoid smashing a walnut with a sledgehammer, as in, having multiple jobs >> to deal with this etc. >> >> -- >> 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 <javascript:>. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/jenkinsci-users/31cddbf2-18db-4700-962f-4326809c2d17%40googlegroups.com >> >> <https://groups.google.com/d/msgid/jenkinsci-users/31cddbf2-18db-4700-962f-4326809c2d17%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> 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/8eea8ae6-a672-438e-ace0-b896b67cbd54%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.