Hi,
I want to use a groovy script in the email-ext plugin, but when I put this
in the Default Subject field:
$DEFAULT_SUBJECT <% def tr = build.testResultAction; if (tr?.failCount) {
%>(${tr?.failCount} failures ${tr?.failureDiffString}) <% } %>
In my mail, the groovy code is not interpreted and thus I get following as
mail subject:
pr_7315 - Build # 46 - Still Failing! <% def tr = build.testResultAction;
if (tr?.failCount) { %>(${tr?.failCount} failures
${tr?.failureDiffString}) <% } %>
Do I have to install an extra plugin for the groovy code to be interpreted?
Kind regards,
stijn.
--
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].
For more options, visit https://groups.google.com/groups/opt_out.