professor-hippo / bullshtml

Automatically exported from code.google.com/p/bullshtml
0 stars 0 forks source link

Coverage data does not display properly in Jenkins #16

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
** Note this could be a Jenkins and/or plugin issue, but I am assuming it is 
not for now. **

What steps will reproduce the problem?

1. Gather Bullseye coverage data using Bullseye 8.7.23, on Windows

2. Run the bullshtml converter. Example:
bullshtml -f toolbox.cov -e UTF_8 toolbox.cov_cobertura

3. Gather the clover.xml output into Jenkins v 1.466.1, Cobertura plugin v 1.6

What is the expected output? What do you see instead?

I expect to see nice pretty trend graphs and tables with coverage data. I see 
an empty graph and tables with only the package names, but no numbers. Can 
provide screenshots if needed.

What version of the product are you using? On what operating system?

1.05 on Windows

Please provide any additional information below.

I can't provide any of the output I have currently for corporate reasons; I 
will work up an example if I can, after I have done further investigation of my 
own.

Original issue reported on code.google.com by pjohnme...@gmail.com on 10 Oct 2012 at 3:57

GoogleCodeExporter commented 9 years ago
Looked in the Jenkins logs and found:

WARNING: Caught exception evaluating: it.getChildMetrics(element). Reason: 
java.lang.IllegalArgumentException: Collection is empty
java.lang.IllegalArgumentException: Collection is empty
    at java.util.EnumSet.copyOf(Unknown Source)
    at hudson.plugins.cobertura.targets.CoverageResult.getMetrics(CoverageResult.java:332)
    at hudson.plugins.cobertura.targets.CoverageResult.getChildMetrics(CoverageResult.java:246)
    ...

Still could be either a Jenkins issue or a data issue, investigation continues.

Original comment by pjohnme...@gmail.com on 10 Oct 2012 at 5:20

GoogleCodeExporter commented 9 years ago
Realizing now that I just had the wrong plugin. The Project Home page mentions 
both Clover and Cobertura and I got myself mixed up by not reading carefully. 
Issue can be summarily closed.

Original comment by pjohnme...@gmail.com on 10 Oct 2012 at 5:28

GoogleCodeExporter commented 9 years ago
Thanks.. I'll make this clear

Original comment by junoy...@gmail.com on 18 Feb 2013 at 3:09

GoogleCodeExporter commented 9 years ago
I fixed the wiki

Original comment by junoy...@gmail.com on 18 Feb 2013 at 3:20