Displaying Clover Code Coverage Percentage in Jenkins Dashboard

We are able to show Coburtura code coverage in Jenkins dashbaords. It's clear from the Coburtura Jenkins plugin source code that they have written some logic to give an option to display in views/dashboards. 

Screen Shot 2017-08-17 at 12.11.50 PM.png

We have both Coburtura reports (for javascript tests) and Clover reports (for PHP) that work well and report corrently in each project status page. However, we are only able to show Coburtura reports in the dashboard.  Is there a way to do the same with Clover? Unfortunately we are not Java developers otherwise we would submit a PR to the Clover jenkins plugin repo.

Any help would be greatly appreciated!

1 answer

0 vote

Hi Alex,

You wrote:

"Clover reports (for PHP)"

Clover supports Java and Groovy (and there's also a plugin for AspectJ). I guess that you're using the CloverPHP plugin:

https://wiki.jenkins.io/display/JENKINS/Clover+PHP+Plugin 

Cheers

I tried both plugins but neither provided the option to add a coverage column. I actually ended up writing my own plugin and it works great! I would be more than happy to share it with the community but it's my first plugin and I'm not exactly sure how to go about that :) 

In case this is a plugin for Bamboo, then please have a look at https://developers.atlassian.com/ website how to write it. As soon as your plugin is ready, you can publish it on the Marketplace, see  https://developers.atlassian.com/platform/marketplace/ for more details.

 

In case this is a plugin for Jenkins, please have a look at https://wiki.jenkins.io/display/JENKINS/Plugin+tutorial 

Suggest an answer

Log in or Join to answer
Community showcase
Emilee Spencer
Published Friday in Marketplace Apps

Marketplace Spotlight: DeepAffects

Hello Atlassian Community! My name is Emilee, and I’m a Product Marketing Manager for the Marketplace team. Starting with this post, I'm kicking off a monthly series of Spotlights to highlight Ma...

67 views 0 3
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot