Can you supply a larger amount of test from the build log that I can try
locally?

On Fri, Jun 10, 2016 at 11:01 AM Ginga, Dick <[email protected]>
wrote:

> The complete source of the email is:
>
>
>
> meta http-equiv="Content-Type" content="text/html; charset=utf-8"><style>
>
> BODY, TABLE, TD, TH, P {
>
>   font-family:Verdana,Helvetica,sans serif;
>
>   font-size:11px;
>
>   color:black;
>
> }
>
> h1 { color:black; }
>
> h2 { color:black; }
>
> h3 { color:black; }
>
> TD.bg1 { color:white; background-color:#0000C0; font-size:120% }
>
> TD.bg2 { color:white; background-color:#4040FF; font-size:110% }
>
> TD.bg3 { color:white; background-color:#8080FF; }
>
> TD.test_passed { color:blue; }
>
> TD.test_failed { color:red; }
>
> TD.console { font-family:Courier New; }
>
> </style>
>
> <body>
>
>
>
>
>
>
>
> <table>
>
>   <tr><td align="right"><img src="
> http://XXXXXXXX/static/e59dfe28/images/32x32/yellow.gif";>
>
>   </td><td valign="center"><b style="font-size: 200%;">BUILD
> UNSTABLE</b></td></tr>
>
>   <tr><td>Build URL</td><td><a href="
> http://XXXXXXXX/job/Build-Run-CommonCS-Tests-Win/13/";>
> http://XXXXXXXX/job/Build-Run-CommonCS-Tests-Win/13/</a></td></tr>
>
>   <tr><td>Build Log</td><td><a href="
> http://XXXXXXXX/job/Build-Run-CommonCS-Tests-Win/13/console";>
> http://XXXXXXXX/job/Build-Run-CommonCS-Tests-Win/13/console</a></td></tr>
>
>   <tr><td>Project:</td><td>Build-Run-CommonCS-Tests-Win</td></tr>
>
>   <tr><td>Date of build:</td><td>Fri, 10 Jun 2016 13:05:06 -0400</td></tr>
>
>   <tr><td>Build duration:</td><td>30 min</td></tr>
>
>   <tr><td>Stream:</td><td>null</td></tr>
>
>   <tr><td>Build Number:</td><td>13</td></tr>
>
>   <tr><td>Build Type:</td><td>null</td></tr>
>
> </table>
>
> <br>
>
>
>
> <!-- CHANGE SET -->
>
>
>
>                 <table width="100%">
>
>     <tr><td class="bg1" colspan="2"><b>CHANGES</b></td></tr>
>
>
>
>         <tr><td colspan="2">No Changes</td></tr>
>
>
>
>   </table>
>
> <br>
>
>
>
>
>
> <!-- ARTIFACTS -->
>
>
>
>
>
> <!-- MAVEN ARTIFACTS -->
>
>
>
>
>
> <!-- JUnit TEMPLATE -->
>
>
>
>
>
>   </table>
>
> <br>
>
>
>
> <!-- CONSOLE OUTPUT -->
>
>
>
>
>
> </body>
>
>
>
>
>
>
>
> <body>
>
>
>
> ***&lt;br&gt; FAIL: LTU_FUNC_TEST.LIBCFSEARCH_HITCOUNTTEST
>
> ***&lt;br&gt; FAIL: LTU_FUNC_TEST.LIBCFSEARCH_ATOMCENTER
>
> ***&lt;br&gt; FAIL: LTU_FUNC_TEST.LIBCFSEARCH_STRINGRESULT
>
>
>
>
>
> </body>
>
>
>
> *From:* Ginga, Dick
> *Sent:* Friday, June 10, 2016 1:57 PM
> *To:* [email protected]
> *Subject:* RE: tidying up Ext-email output
>
>
>
> I have tried <br> and escaped and not escaped HTML and <body> … </body>
> around my build-log-regex and I get this:
>
>
>
> ***<br> FAIL: LTU_FUNC_TEST.LIBCFSEARCH_HITCOUNTTEST ***<br> FAIL:
> LTU_FUNC_TEST.LIBCFSEARCH_ATOMCENTER ***<br> FAIL:
> LTU_FUNC_TEST.LIBCFSEARCH_STRINGRESULT
>
>
>
>
>
>
>
> *From:* [email protected] [
> mailto:[email protected] <[email protected]>]
> *On Behalf Of *Slide
> *Sent:* Friday, June 10, 2016 11:20 AM
>
>
> *To:* [email protected]
> *Subject:* Re: tidying up Ext-email output
>
>
>
> 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://urldefense.proofpoint.com/v2/url?u=https-3A__groups.google.com_d_msgid_jenkinsci-2Dusers_6C6EE445A6F6CE4E8A0FFB51B071A4E2D8711CA0-2540AMERMBX02.PERKINELMER.NET-3Futm-5Fmedium-3Demail-26utm-5Fsource-3Dfooter&d=CwMFaQ&c=3mGIBQKb1eS1YDHb7ax3kFkT2UAGBJ12p2lcECIjhXk&r=SXz9subj7EUWDFIuiAjJSXBLM9pAzGIduhHWvfq5re0&m=74eJVq1yvVscVZTLeC_MOQH50qHuVBX-vygMpLhBkiQ&s=V8F24inp9K05cBO35GWzH-cq9kaWqLRLt_ryo1JTz9c&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=74eJVq1yvVscVZTLeC_MOQH50qHuVBX-vygMpLhBkiQ&s=ep4VuKMnSfpuoR-sg91zw1ORPWHNgpGP6csj8b3CNc0&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/CAPiUgVfBHhTwfNGgSwn_Rs5i8%2B0BWO0ceHWfREE3qcywv2rG8w%40mail.gmail.com
> <https://urldefense.proofpoint.com/v2/url?u=https-3A__groups.google.com_d_msgid_jenkinsci-2Dusers_CAPiUgVfBHhTwfNGgSwn-5FRs5i8-252B0BWO0ceHWfREE3qcywv2rG8w-2540mail.gmail.com-3Futm-5Fmedium-3Demail-26utm-5Fsource-3Dfooter&d=CwMFaQ&c=3mGIBQKb1eS1YDHb7ax3kFkT2UAGBJ12p2lcECIjhXk&r=SXz9subj7EUWDFIuiAjJSXBLM9pAzGIduhHWvfq5re0&m=74eJVq1yvVscVZTLeC_MOQH50qHuVBX-vygMpLhBkiQ&s=CONOVxwivtHxxRi0fT26borLmU9xDHdobigREUklciw&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=74eJVq1yvVscVZTLeC_MOQH50qHuVBX-vygMpLhBkiQ&s=ep4VuKMnSfpuoR-sg91zw1ORPWHNgpGP6csj8b3CNc0&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/6C6EE445A6F6CE4E8A0FFB51B071A4E2D8711F14%40AMERMBX02.PERKINELMER.NET
> <https://groups.google.com/d/msgid/jenkinsci-users/6C6EE445A6F6CE4E8A0FFB51B071A4E2D8711F14%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/CAPiUgVe3cGdf_RAwO6wDSj5wmdCOKgjGixb_cUaZDEjR0MoDpg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to