You don't need a presend script at all. Just create a groovy template and
use the SCRIPT token.

On Thu, Feb 19, 2015, 22:18 Anitha Kabil Raj <[email protected]>
wrote:

> Dear team,
> I'm trying to get the build result reflected in my e-mail body.
> I need to get the result of each build step from the log, and put it as
> the e-mail content. In pre-send script I understand that I need to have a
> groovy script that serves the purpose.
> Can anyone help me on this?
> Thanks,
> Anitha
>
> --
> 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 [email protected].
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/jenkinsci-users/aec30be4-b15e-4e28-a8d2-ba988f46b088%40googlegroups.
> com
> <https://groups.google.com/d/msgid/jenkinsci-users/aec30be4-b15e-4e28-a8d2-ba988f46b088%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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAPiUgVfbmPiVYM6MNh8i-SaS%2BfR%3DyYujoYrpUG-iobCRTjXcyw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to