On 17/04/15 18:54, rquitania wrote:
Jenkins ver: 1.580.1-SNAPSHOT
Email-ext plugin ver: 2.38.2
I am trying to use the ${BUILD_LOG_EXCERPT} token in the email-ext but
it does not seem to work for me.
Here is my code:
${BUILD_LOG_EXCEPRT, start="^.*?Log:.*?$", end="^.*?Error code:.*?$"}
What am I doing wrong?
Two problems I can see:
1. You have not defined what "does not seem to work" means. You get no
log output in your emails? You get unexpected output? Jenkins shows an
error message when sending the email? etc...
2. Your example code misspells "BUILD_LOG_EXCERPT".
As you're apparently using an old version of email-ext, and a modified
(SNAPSHOT) version of Jenkins, you could also try upgrading, and using
an official Jenkins release.
-Chris
--
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/55313DFA.5040305%40orr.me.uk.
For more options, visit https://groups.google.com/d/optout.