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' -- You received this message because you are subscribed to the Google Groups "Jenkins Developers" 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-dev/edf24859-e446-417b-8e36-ff346672a865%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
