- Work for 1.0 version is open
- MPDASHBOARD-26: The JUnit pass rate aggregator was no longer showing values in the dashboard. git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@179136 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
c01e23d657
commit
779f7fe613
@ -23,7 +23,7 @@
|
|||||||
<pomVersion>3</pomVersion>
|
<pomVersion>3</pomVersion>
|
||||||
<id>maven-dashboard-plugin</id>
|
<id>maven-dashboard-plugin</id>
|
||||||
<name>Maven Dashboard Plugin</name>
|
<name>Maven Dashboard Plugin</name>
|
||||||
<currentVersion>1.8</currentVersion>
|
<currentVersion>1.9-SNAPSHOT</currentVersion>
|
||||||
<description>Generate a dashboard containing global statistics about other maven reports</description>
|
<description>Generate a dashboard containing global statistics about other maven reports</description>
|
||||||
<shortDescription>Generate a statistic dashboard</shortDescription>
|
<shortDescription>Generate a statistic dashboard</shortDescription>
|
||||||
<url>http://maven.apache.org/reference/plugins/dashboard/</url>
|
<url>http://maven.apache.org/reference/plugins/dashboard/</url>
|
||||||
|
|||||||
@ -28,10 +28,10 @@
|
|||||||
<u:file var="artifactAsFile" name="${maven.dashboard.aggregator.junittests.artifact}"/>
|
<u:file var="artifactAsFile" name="${maven.dashboard.aggregator.junittests.artifact}"/>
|
||||||
<j:choose>
|
<j:choose>
|
||||||
<j:when test="${artifactAsFile.exists()}">
|
<j:when test="${artifactAsFile.exists()}">
|
||||||
|
<x:parse var="doc" xml="${artifactAsFile}"/>
|
||||||
|
<x:set var="nbTests" select="sum($doc/testsuites/testsuite/@tests)"/>
|
||||||
<j:choose>
|
<j:choose>
|
||||||
<x:set var="nbTests" select="sum($doc/testsuites/testsuite/@tests)"/>
|
|
||||||
<j:when test="${nbTests != 0}">
|
<j:when test="${nbTests != 0}">
|
||||||
<x:parse var="doc" xml="${artifactAsFile}"/>
|
|
||||||
<x:expr select="floor(100 - 100 * (sum($doc/testsuites/testsuite/@failures) + sum($doc/testsuites/testsuite/@errors)) div sum($doc/testsuites/testsuite/@tests))"/>
|
<x:expr select="floor(100 - 100 * (sum($doc/testsuites/testsuite/@failures) + sum($doc/testsuites/testsuite/@errors)) div sum($doc/testsuites/testsuite/@tests))"/>
|
||||||
%
|
%
|
||||||
</j:when>
|
</j:when>
|
||||||
|
|||||||
@ -24,6 +24,11 @@
|
|||||||
<author email="vmassol@apache.org">Vincent Massol</author>
|
<author email="vmassol@apache.org">Vincent Massol</author>
|
||||||
</properties>
|
</properties>
|
||||||
<body>
|
<body>
|
||||||
|
<release version="1.9-SNAPSHOT" date="in svn">
|
||||||
|
<action dev="vmassol" type="fix" issue="MPDASHBOARD-26" due-to="Wim Deblauwe">
|
||||||
|
The JUnit pass rate aggregator was no longer showing values in the dashboard.
|
||||||
|
</action>
|
||||||
|
</release>
|
||||||
<release version="1.8" date="2005-05-19">
|
<release version="1.8" date="2005-05-19">
|
||||||
<action dev="vmassol" type="add" issue="MPDASHBOARD-22" due-to="Morten Kristiansen">Added aggregator totals to the HTML report.</action>
|
<action dev="vmassol" type="add" issue="MPDASHBOARD-22" due-to="Morten Kristiansen">Added aggregator totals to the HTML report.</action>
|
||||||
<action dev="vmassol" type="update">Default values for
|
<action dev="vmassol" type="update">Default values for
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user