I can try that. the tests run for 45 minutes…

But it looks to me like $1 is eval’ing to ALL 3 lines instead of EACH line


From: jenkinsci-users@googlegroups.com 
[mailto:jenkinsci-users@googlegroups.com] On Behalf Of Slide
Sent: Friday, June 10, 2016 11:20 AM
To: jenkinsci-users@googlegroups.com
Subject: Re: tidying up Ext-email output


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

On Fri, Jun 10, 2016, 08:18 Ginga, Dick 
<dick.gi...@perkinelmer.com<mailto:dick.gi...@perkinelmer.com>> wrote:
yes

From: jenkinsci-users@googlegroups.com<mailto:jenkinsci-users@googlegroups.com> 
[mailto:jenkinsci-users@googlegroups.com<mailto:jenkinsci-users@googlegroups.com>]
 On Behalf Of Slide
Sent: Friday, June 10, 2016 11:15 AM
To: jenkinsci-users@googlegroups.com<mailto:jenkinsci-users@googlegroups.com>
Subject: Re: tidying up Ext-email output


Are you using html email?

On Fri, Jun 10, 2016, 08:01 Ginga, Dick 
<dick.gi...@perkinelmer.com<mailto:dick.gi...@perkinelmer.com>> 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.gi...@perkinelmer.com<mailto:ed.cof...@perkinelmer.com>
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 
jenkinsci-users+unsubscr...@googlegroups.com<mailto:jenkinsci-users+unsubscr...@googlegroups.com>.
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 
jenkinsci-users+unsubscr...@googlegroups.com<mailto:jenkinsci-users+unsubscr...@googlegroups.com>.
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 
jenkinsci-users+unsubscr...@googlegroups.com<mailto:jenkinsci-users+unsubscr...@googlegroups.com>.
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 
jenkinsci-users+unsubscr...@googlegroups.com<mailto:jenkinsci-users+unsubscr...@googlegroups.com>.
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 jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/6C6EE445A6F6CE4E8A0FFB51B071A4E2D8711CCC%40AMERMBX02.PERKINELMER.NET.
For more options, visit https://groups.google.com/d/optout.

Reply via email to