Are you using html email?
On Fri, Jun 10, 2016, 08:01 Ginga, Dick <[email protected]> wrote:
> Hello all, just trying to create a “better” email response.
>
>
>
> I have some custom written tests that produce lots of test output, but I
> only want the failures (FAIL:) in the email,
>
>
>
> *09:53:06* *** FAIL: LTU_FUNC_TEST.LIBCFSEARCH_HITCOUNTTEST
>
> …
>
> *09:54:09* *** FAIL: LTU_FUNC_TEST.LIBCFSEARCH_ATOMCENTER
>
> …
>
> *09:54:15* *** FAIL: LTU_FUNC_TEST.LIBCFSEARCH_STRINGRESULT
>
>
>
> so I use
>
>
>
> ${BUILD_LOG_REGEX, regex="(?i)( FAIL:.*)", substText="\n$1\n",
> showTruncatedLines=false, escapeHtml=true}
>
>
>
> But I get this,
>
>
>
> *** FAIL: LTU_FUNC_TEST.LIBCFSEARCH_HITCOUNTTEST *** FAIL:
> LTU_FUNC_TEST.LIBCFSEARCH_ATOMCENTER *** FAIL:
> LTU_FUNC_TEST.LIBCFSEARCH_STRINGRESULT
>
>
>
> I would like each of these failures to be on its own line. That is what I
> thought maybe the substText might do but apparently not.
>
>
>
> Is there a way to do this?
>
>
>
> *Dick Ginga, Informatics R&D*
>
> *PerkinElmer Inc. *
> *| For the Better **HUMAN HEALTH **|* *ENVIRONMENTAL HEALTH*
> 940 Winter Street, Waltham MA 02451
>
>
>
> *dick.ginga**@perkinelmer.com <[email protected]>*
>
> Mobile – 508-847-1434
>
> Office – 781-663-6947
>
>
>
> --
> 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/6C6EE445A6F6CE4E8A0FFB51B071A4E2D8711C23%40AMERMBX02.PERKINELMER.NET
> <https://groups.google.com/d/msgid/jenkinsci-users/6C6EE445A6F6CE4E8A0FFB51B071A4E2D8711C23%40AMERMBX02.PERKINELMER.NET?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/CAPiUgVerq2uUTBOzeY8Gwp2ebPRthjObtJ_A4M%3DeU1OZtRcA1w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.