2

I have a node.js project running mocha tests, and I'm generating a coverage report using blanket. I've managed to get the coverage report generated, but I'm not sure how to generate a report that can be consumed by and viewed in Jenkins. Any suggestions? I'm looking for a result similar to the Cobertura plugin (https://wiki.jenkins-ci.org/display/JENKINS/Cobertura+Plugin).

Michael A
  • 89
  • 1
  • 9

1 Answers1

0

Edit: Sorry i misread your question, if the coverage report gets published with the xunit report i dont know. So the following might not help you.


The XUnit reporter should create a report that can be parsed by jenkins.

Check out this blog post.


Also, have a look into the XUnit Plugin, it allows to specify the parser for various kinds of report formats.

enter image description here


Quote for persistence: Source https://blog.dylants.com/2013/06/21/jenkins-and-node/ Source https://blog.dylants.com/2013/06/21/jenkins-and-node/

Dominik Gebhart
  • 2,640
  • 1
  • 11
  • 27