forked from I2P_Developers/i2p.i2p
build.xml: minor tweak for jenkins
Jenkins' cobertura plugin wasn't finding the streaming source. This change should correct that.
This commit is contained in:
@@ -1334,25 +1334,26 @@
|
||||
<target name="fulltest" depends="buildProperties, jbigi" >
|
||||
<ant dir="core/java/" target="fulltest" />
|
||||
<ant dir="router/java/" target="fulltest" />
|
||||
<ant dir="apps/streaming/java" target="fulltest" />
|
||||
<ant dir="apps/streaming/java" target="fulltest" />
|
||||
</target>
|
||||
<target name="jenkins.cobertura.report" depends="cobertura.report">
|
||||
<!--
|
||||
The jenkins cobertura plugin couldn't find the source files.
|
||||
Let's see if these changes help it out.
|
||||
-->
|
||||
<replaceregexp byline="true" file="reports/core/cobertura/coverage.xml"
|
||||
match='filename="net' replace='filename="core/java/src/net'/>
|
||||
<replaceregexp byline="true" file="reports/core/cobertura/coverage.xml"
|
||||
match="<source>./src" replace='<source>./core/java/src'/>
|
||||
|
||||
<replaceregexp byline="true" file="reports/router/cobertura/coverage.xml"
|
||||
match='filename="net' replace='filename="router/java/src/net'/>
|
||||
<replaceregexp byline="true" file="reports/router/cobertura/coverage.xml"
|
||||
match="<source>./src" replace="<source>router/java/src"/>
|
||||
|
||||
<replaceregexp byline="true" file="reports/streaming/cobertura/coverage.xml"
|
||||
match='filename="net' replace='filename="streaming/java/src/net'/>
|
||||
match='filename="net' replace='filename="apps/streaming/java/src/net'/>
|
||||
<replaceregexp byline="true" file="reports/streaming/cobertura/coverage.xml"
|
||||
match="<source>./src" replace="<source>streaming/java/src"/>
|
||||
match="<source>./src" replace="<source>apps/streaming/java/src"/>
|
||||
</target>
|
||||
<!-- end unit tests -->
|
||||
|
||||
|
Reference in New Issue
Block a user