Have you tried using </br> instead of \n?

On Fri, Jun 10, 2016, 08:18 Ginga, Dick <[email protected]> wrote:

> yes
>
>
>
> *From:* [email protected] [mailto:
> [email protected]] *On Behalf Of *Slide
> *Sent:* Friday, June 10, 2016 11:15 AM
> *To:* [email protected]
> *Subject:* Re: tidying up Ext-email output
>
>
>
> 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://urldefense.proofpoint.com/v2/url?u=https-3A__groups.google.com_d_msgid_jenkinsci-2Dusers_6C6EE445A6F6CE4E8A0FFB51B071A4E2D8711C23-2540AMERMBX02.PERKINELMER.NET-3Futm-5Fmedium-3Demail-26utm-5Fsource-3Dfooter&d=CwMFaQ&c=3mGIBQKb1eS1YDHb7ax3kFkT2UAGBJ12p2lcECIjhXk&r=SXz9subj7EUWDFIuiAjJSXBLM9pAzGIduhHWvfq5re0&m=mXByn-k5ahdwHXfgIzt1kZhAXWCuXghYTJj4IHz05lc&s=dglEPB15sKA_YOKPLxLdeKJ34vohwQQ8-KcqMNssCH0&e=>
> .
> For more options, visit https://groups.google.com/d/optout
> <https://urldefense.proofpoint.com/v2/url?u=https-3A__groups.google.com_d_optout&d=CwMFaQ&c=3mGIBQKb1eS1YDHb7ax3kFkT2UAGBJ12p2lcECIjhXk&r=SXz9subj7EUWDFIuiAjJSXBLM9pAzGIduhHWvfq5re0&m=mXByn-k5ahdwHXfgIzt1kZhAXWCuXghYTJj4IHz05lc&s=N0RBCmmnoAD4p05B0Nzg5ZOj81T78N1yEGGjegZWksQ&e=>
> .
>
> --
> 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
> <https://urldefense.proofpoint.com/v2/url?u=https-3A__groups.google.com_d_msgid_jenkinsci-2Dusers_CAPiUgVerq2uUTBOzeY8Gwp2ebPRthjObtJ-5FA4M-253DeU1OZtRcA1w-2540mail.gmail.com-3Futm-5Fmedium-3Demail-26utm-5Fsource-3Dfooter&d=CwMFaQ&c=3mGIBQKb1eS1YDHb7ax3kFkT2UAGBJ12p2lcECIjhXk&r=SXz9subj7EUWDFIuiAjJSXBLM9pAzGIduhHWvfq5re0&m=mXByn-k5ahdwHXfgIzt1kZhAXWCuXghYTJj4IHz05lc&s=2ysptL8ae42kRVa5benLWvcc11wYuWJ9PXganZfAz2Y&e=>
> .
>
>
> For more options, visit https://groups.google.com/d/optout
> <https://urldefense.proofpoint.com/v2/url?u=https-3A__groups.google.com_d_optout&d=CwMFaQ&c=3mGIBQKb1eS1YDHb7ax3kFkT2UAGBJ12p2lcECIjhXk&r=SXz9subj7EUWDFIuiAjJSXBLM9pAzGIduhHWvfq5re0&m=mXByn-k5ahdwHXfgIzt1kZhAXWCuXghYTJj4IHz05lc&s=N0RBCmmnoAD4p05B0Nzg5ZOj81T78N1yEGGjegZWksQ&e=>
> .
>
> --
> 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/6C6EE445A6F6CE4E8A0FFB51B071A4E2D8711CA0%40AMERMBX02.PERKINELMER.NET
> <https://groups.google.com/d/msgid/jenkinsci-users/6C6EE445A6F6CE4E8A0FFB51B071A4E2D8711CA0%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/CAPiUgVfBHhTwfNGgSwn_Rs5i8%2B0BWO0ceHWfREE3qcywv2rG8w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to