Skip to content
Permalink
Browse files

[FIXED JENKINS-8441] There should be a cobertura summary item on the …

…build status page
  • Loading branch information...
ssogabe committed Apr 27, 2013
1 parent 721856f commit 189f1729520c13675da6e598eb03142e8c0ee9c3
@@ -0,0 +1,16 @@
<?jelly escape-by-default='true'?>
<j:jelly xmlns:j="jelly:core" xmlns:d="jelly:define" xmlns:l="/lib/layout" xmlns:t="/lib/hudson">
<t:summary icon="graph.png">
<div><a href="cobertura/">${%Cobertura Coverage Report}</a></div>
<j:set var="result" value="${it.target}" />
<j:if test="${result != null}">
<div style="margin: 1ex 0 0 1ex">
<j:forEach var="metric" items="${result.metrics}">
<b>${metric.name}</b>:
${result.getCoverage(metric).percentage}%
&amp;nbsp;
</j:forEach>
</div>
</j:if>
</t:summary>
</j:jelly>
@@ -0,0 +1 @@
Cobertura\ Coverage\ Report=Cobertura \u30ab\u30d0\u30ec\u30c3\u30b8\u30fb\u30ec\u30dd\u30fc\u30c8

0 comments on commit 189f172

Please sign in to comment.
You can’t perform that action at this time.