Skip to content

Commit

Permalink
[FIXED JENKINS-8441] There should be a cobertura summary item on the …
Browse files Browse the repository at this point in the history
…build status page
  • Loading branch information
ssogabe committed Apr 27, 2013
1 parent 721856f commit 189f172
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
@@ -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.