captin411 / devel-cover-report-clover

Backend for Atlassian Clover reporting of coverage statistics
http://search.cpan.org/dist/Devel-Cover-Report-Clover/
Artistic License 2.0
6 stars 7 forks source link

No coverage reports in Jenkins - 404 #3

Closed Rudikza closed 11 years ago

Rudikza commented 11 years ago

Hello,

I'm trying to use your module to generate some coverage reports in Jenkins and I'm running in to some issues.

I can see the graph and image on the main project page but when I click on the Coverage Report I just get 404 error page. http://127.0.0.1:8080/job/test_project/clover/?

Jenkins ver. 1.492 Jenkins Clover plugin 4.0.6

Any ideas?

slollo commented 11 years ago

Same problem with Jenkins ver. 1.447.2 (Debian testing package) and Clover plugin ver 4.0.6.

captin411 commented 11 years ago

You will need to write out both the XML and HTML formats so that the plugin can find the XML output (from Devel::Cover::Report::Clover) as well as the HTML output (from Devel::Cover).

For example:

... your perl, build.pl build testcover etc lines ... cover -report clover # generate the XML report cover -report html -outputfile index.html # generate the HTML reports ... profit ...