Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-5881

Link to access Clover Coverage Report does not generate correctly

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • clover-plugin
    • None
    • Hudson version 1.349 installed on Windows Server 2003 Standard Edition SP2 machine under Tomcat version 6.0.24. Browser opened on Windows XP Pro Version 2002 SP3 machine using IE 7.0.5730.13.

      When integrating Clover reporting to a job, after the job has successfully built and Clover reports are generated, when clicking on the Job Name link in a view, the Coverage Report link located on the left side of the page (URL example: http://SERVERNAME/view/Testing/job/JOBNAME/clover/) does not contain the build number and therefore when you click the link you get a page with 404 error:
      HTTP Status 404 -
      type Status report
      message
      description The requested resource () is not available.
      Apache Tomcat/6.0.24

      navigating down to the specific build and then to the Clover Coverage Report link gets you to the proper pages.

      The Generate an historical report and Generate a jwon report are checked within the Automatically record and report Clover Coverage in the job configuration. A proper license is entered. As well as the Publish Clover Coverage Report is manually configured correctly.

          [JENKINS-5881] Link to access Clover Coverage Report does not generate correctly

          John Burrows created issue -
          John Burrows made changes -
          Description Original: When integrating Clover reporting to a job, after the job has successfully built and Clover reports are generated, when clicking on the Job Name link in a view, the Coverage Report link located on the left side of the page (URL example: http://SERVERNAME/view/Testing/job/JOBNAME/clover/) does not contain the build number and therefore when you click the link you get a page with 404 error:
          HTTP Status 404 -
          type Status report
          message
          description The requested resource () is not available.
          Apache Tomcat/6.0.24

          navigating down to the specific build and then to the Clover Coverage Report link gets you to the proper pages.
          New: When integrating Clover reporting to a job, after the job has successfully built and Clover reports are generated, when clicking on the Job Name link in a view, the Coverage Report link located on the left side of the page (URL example: http://SERVERNAME/view/Testing/job/JOBNAME/clover/) does not contain the build number and therefore when you click the link you get a page with 404 error:
          HTTP Status 404 -
          type Status report
          message
          description The requested resource () is not available.
          Apache Tomcat/6.0.24

          navigating down to the specific build and then to the Clover Coverage Report link gets you to the proper pages.

          The Generate an historical report and Generate a jwon report are checked within the Automatically record and report Clover Coverage in the job configuration. A proper license is entered. As well as the Publish Clover Coverage Report is manually configured correctly.

          arzala added a comment - - edited

          I confirm this issue, since it has happened to me as well. Additionally I am providing following information.

          A: Project page has menu "Clover HTML Coverage Report" on left panel as well as in middle of page pointing to URL ".../job/<project>/clover". Which tries to display content from "var/lib/hudson/jobs/<project>/builds/<date>" which seems wrong hence gives 404 status message.

          B: While on the page of particular build which has generated clover coverage report; there appears 2 menu links on left navigation panel;

          1: Clover HTML Report => ".../job/<project>/123/clover-report" but trying to display contents from above mentioned location hence again 404 status message.
          2: Clover Summary Report => ".../job/Jobeet/70/clover" this successfully displays contents on right panel with header "Clover Coverage Report". Content includes "Overall Coverage Summary" and "Coverage Breakdown by Package". Here header "Coverage Breakdown by Package" just shows table headings like "name, Total Coverage %, method %, conditionals %, statements %" with link on those heading but nothing displays if you click on it (maybe another bug in this plugin or hudson itself).

          I use F12, Phing, PHPUnit, Hudson 1.358, Firefox 3.5.9

          arzala added a comment - - edited I confirm this issue, since it has happened to me as well. Additionally I am providing following information. A: Project page has menu "Clover HTML Coverage Report" on left panel as well as in middle of page pointing to URL ".../job/<project>/clover". Which tries to display content from "var/lib/hudson/jobs/<project>/builds/<date>" which seems wrong hence gives 404 status message. B: While on the page of particular build which has generated clover coverage report; there appears 2 menu links on left navigation panel; 1: Clover HTML Report => ".../job/<project>/123/clover-report" but trying to display contents from above mentioned location hence again 404 status message. 2: Clover Summary Report => ".../job/Jobeet/70/clover" this successfully displays contents on right panel with header "Clover Coverage Report". Content includes "Overall Coverage Summary" and "Coverage Breakdown by Package". Here header "Coverage Breakdown by Package" just shows table headings like "name, Total Coverage %, method %, conditionals %, statements %" with link on those heading but nothing displays if you click on it (maybe another bug in this plugin or hudson itself). I use F12, Phing, PHPUnit, Hudson 1.358, Firefox 3.5.9

          webjawns added a comment -

          I am also experiencing this issue. Very frustrating!

          webjawns added a comment - I am also experiencing this issue. Very frustrating!
          webjawns made changes -
          webjawns made changes -

          nuqqsa added a comment -

          Same here.
          Hudson v1.380 and Clover plugin v3.0.2

          nuqqsa added a comment - Same here. Hudson v1.380 and Clover plugin v3.0.2

          arzala added a comment - - edited

          Any work in progress on this issue?

          arzala added a comment - - edited Any work in progress on this issue?
          arzala made changes -
          Priority Original: Major [ 3 ] New: Critical [ 2 ]

          sogabe added a comment -

          Clover Plugin works for me. the links on project and job pages work correctly.
          Check your console log.
          Can you find "No Clover report will be published due to a xxxx" in your console log.

          sogabe added a comment - Clover Plugin works for me. the links on project and job pages work correctly. Check your console log. Can you find "No Clover report will be published due to a xxxx" in your console log.

            sogabe sogabe
            jburrows John Burrows
            Votes:
            5 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: