This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Ant, Maven and Other Build Tools and the fly likes Getting Coverage report by Hudson Cobertura plugin Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "Getting Coverage report by Hudson Cobertura plugin" Watch "Getting Coverage report by Hudson Cobertura plugin" New topic
Author

Getting Coverage report by Hudson Cobertura plugin

Arka Sharma
Ranch Hand

Joined: Jun 15, 2011
Posts: 103
Hi All,
I have generated cobertura reports from maven by executing the goal "mvn clean cobertura:cobertura".In the pom.xml i have given the format as html so it is producing the report in html format.Now I have also installed cobertura plugin in hudson.Previously I was trying with <format>xml</format> in pom.xml and gave the "**/target/coverage.xml" for "Cobertura xml report pattern" textbox in Hudson gui.I also mentioned mvn clean cobertura:cobertura in goals and options textbox in Hudson.And I ended up with this
Publishing Cobertura coverage report...
No coverage results were found using the pattern '**/target/coverage.xml' relative to 'C:\Documents and Settings\gur27275\.hudson\jobs\MACH COBERTURA\workspace'. Did you enter a pattern relative to the correct directory? Did you generate the XML report(s) for Cobertura?
[DEBUG] Skipping watched dependency update for build: MACH COBERTURA #3 due to result: FAILURE
Finished: FAILURE

MACH COBERTURA #3 is my Hudson Job name.

Please Help.

Thanks and Regards,
Arka
bhupal kanapuram
Greenhorn

Joined: Nov 24, 2011
Posts: 1
I am also getting same error, Any one could please help out?
 
wood burning stoves
 
subject: Getting Coverage report by Hudson Cobertura plugin
 
Similar Threads
Can't get the code coverage output using Cobertura + Testng + Ant
packing maven-plugin not creating MANIFEST file
Cobertura code coverage issue
Cobertura Zero Reports
Maven: What's the big deal?