Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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!

2 answers

0 votes

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 

hi @Alex Buchholz

 

  Me too facing same problem with Jenkins clover plugin. Can you share the custom plugin you wrote.

 

Thanks in advance!

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira

Jira Cloud Performance Improvements

Hello everyone, I am a product manager in the Jira Cloud team focused on making sure our customers have a delightful experience using our products. Towards that goal, one of the areas which is extr...

158 views 1 8
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you