Win a copy of Beginning Java 17 Fundamentals: Object-Oriented Programming in Java 17 this week in the Java in General forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Junilu Lacar
  • Rob Spoor
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Jesse Silverman
  • Stephan van Hulst
  • Carey Brown
  • Al Hobbs
  • Piet Souris
  • Frits Walraven

Getting Coverage report by Hudson Cobertura plugin

Ranch Hand
Posts: 103
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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,
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am also getting same error, Any one could please help out?
WHAT is your favorite color? Blue, no yellow, ahhhhhhh! Tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
    Bookmark Topic Watch Topic
  • New Topic