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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/6C6EE445A6F6CE4E8A0FFB51B071A4E2D8711C23%40AMERMBX02.PERKINELMER.NET.
For more options, visit https://groups.google.com/d/optout.

Reply via email to