Welcome to the new Parasoft forums! We hope you will enjoy the site and try out some of the new features, like sharing an idea you may have for one of our products or following a category.

Displaying Code Coverage Results on Jenkins

kmazotti
kmazotti Posts: 1

Hi,
I've been trying to visually display code coverage results on Jenkins but can't seem to find a way to do it with the Parasoft Findings plugin. Currently I can only graph the number of tests that have passed/failed but I would like to have a visual of the coverage percentages. This is the plugin I've been trying to use https://docs.parasoft.com/display/FINDS/Parasoft+Findings+for+Jenkins
(step([$class: 'XUnitBuilder', tools: [[$class: 'ParasoftType', pattern: '']]])))
I would like to display them in a similar way to what Cobertura does, but Cobertura does not accept the .xml file that Parasoft produces. (Probably because Cobertura is for Java and JUnit tests).

This is what I would like my Jenkins to display:

But currently it displays something more like this:

Is there a way to do this with the parasoft plugin for Jenkins, or does anyone know of a way to convert my .xml so that Cobertura can read it?

Thanks