Browse Source

Another stab at fixing teamcity-info.xml

Change-Id: I41c318644eada710c78812260a8397fddd924465
Reviewed-on: http://gerrit.dmdirc.com/1787
Reviewed-by: Greg Holmes <greg@dmdirc.com>
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com>
tags/0.6.5rc1
Chris Smith 13 years ago
parent
commit
26f45e3ab4
1 changed files with 4 additions and 4 deletions
  1. 4
    4
      checkstyle/clover.xsl

+ 4
- 4
checkstyle/clover.xsl View File

@@ -6,6 +6,10 @@
6 6
 	<xsl:variable name="covered" select="project/metrics/@coveredelements"/>
7 7
 	<xsl:variable name="decimal" select="$covered div $total"/>
8 8
 	<build>
9
+                <statusInfo>
10
+                        <text action="append"> coverage: <xsl:value-of select="round($decimal * 10000) div 100"/>%</text>
11
+                </statusInfo>
12
+
9 13
 		<statisticValue key="cloverTotalElements">
10 14
 			<xsl:attribute name="value">
11 15
 				<xsl:value-of select="$total"/>
@@ -21,10 +25,6 @@
21 25
         	                <xsl:value-of select="round(100 * $decimal)"/>
22 26
                 	</xsl:attribute>
23 27
 	        </statisticValue>
24
-
25
-		<statusInfo>
26
-			<text action="append"> coverage: <xsl:value-of select="round($decimal * 10000) div 100"/>%</text>
27
-		</statusInfo>
28 28
 	</build>
29 29
 </xsl:template>
30 30
 

Loading…
Cancel
Save