Groovy template for subject in email-ext plugin

13 views
Skip to first unread message

Faizan Javed

unread,
Apr 22, 2015, 8:29:03 AM4/22/15
to jenkin...@googlegroups.com

I need help in creating a groovy template for subject in email-ext plugin. I have configured email-ext plugin to send emails on every build failure.

I want to check my build log and if it contains text 'abc' then it should set subject to 'ProjectName - failed due to abc' and if it doesn't then to 'ProjectName - failed due to xyz'

Reply all
Reply to author
Forward
0 new messages