--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/cc06fcf9-7be4-40ad-8437-a5da816206b7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
So what does not work? What is the error?
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
<!-- JUnit TEMPLATE --><% def junitResultList = it.JUnitTestResultif (junitResultList.size() > 0) { %> <TABLE width="100%"> <TR style="${style_tr}"> <TD style="${style_bg1}" colspan="2"><B>JUnit Tests</B></TD> </TR> <% it.JUnitTestResult.each{ junitResult -> junitResult.getChildren().each { packageResult -> %> <TR style="${style_tr}"> <TD style="${style_bg2}" colspan="2"> Name: ${packageResult.getName()} Failed: ${packageResult.getFailCount()} test(s), Passed: ${packageResult.getPassCount()} test(s), Skipped: ${packageResult.getSkipCount()} test(s), Total: ${packageResult.getPassCount()+packageResult.getFailCount()+packageResult.getSkipCount()} test(s)</TD> </TR> <% packageResult.getFailedTests().each{ failed_test -> %> <TR style="${style_tr}"> <TD style="${style_bg3}${style_failure}" colspan="2"><B><li>Failed: ${failed_test.getFullName()} </li></B></TD> </TR> <% } } }} %> </TABLE><!-- XUnit TEMPLATE --><TABLE width="100%"> <TR> <TD colspan="2"><B>Unit Tests</B></TD> </TR> <j:forEach var="junitResult" items="${it.JUnitTestResult}"> <j:forEach var="packageResult" items="${junitResult.getChildren()}"> <TR> <TD>Tests Root Name</TD> <TD>${packageResult.getName()}</TD> </TR> <TR> <TD>Tests Counts</TD> <TD>${packageResult.getPassCount()+packageResult.getFailCount()+packageResult.getSkipCount()}</TD> </TR> <TR> <TD>Tests Pass</TD> <TD style=" ${style_success}">${packageResult.getPassCount()}</TD> </TR> <TR> <TD>Tests Skip</TD> <TD style="${style_unstable}">${packageResult.getSkipCount()}</TD> </TR> <TR> <TD>Tests Fail</TD> <TD>${packageResult.getFailCount()}</TD> </TR> <j:forEach var="failed_test" items="${packageResult.getFailedTests()}"> <TR> <TD colspan="2"><B><li>Failed: ${failed_test.getFullName()} </li></B></TD> </TR> </j:forEach> </j:forEach> </j:forEach></TABLE><BR/><!-- Local variables --><%style_default = "font-family:Verdana,Helvetica,sans serif; font-size:11px; color:black;"style_header = "color: black;"style_bg1 = "color:white; background-color:" + style_cie_color + "; font-size:120%;"style_bg2 = "color:#666666; background-color:white; font-size:110%; margin-left: 2px; margin-right: 2px;"style_bg3 = "color: black; background-color:white;"style_tr = "border: 1px solid " + style_cie_color + ";"style_failure = "color: red;"style_success = "color: green;"style_unstable = "color: yellow;"
...
%>