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

JaCoCo 2.0.0 plugin shows html instead of coverage report chart

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Critical
    • Resolution: Fixed
    • Component/s: jacoco-plugin
    • Labels:
      None
    • Environment:
      Jenkins 1.625.2
      JaCoCo plugin 2.0.0
      Git plugin 2.4.0
      Git client plugin 1.19.0
    • Similar Issues:

      Description

      The jacoco plugin shows raw HTML instead of showing the coverage chart in certain views.

      Steps to duplicate the problem:

      • Download the reference docker image including the git-client-coverage job and plugin configurations
            git clone git://github.com/MarkEWaite/docker.git
            cd docker
            git checkout -b master-jacoco-2.0.0-bug -t origin/master-jacoco-2.0.0-bug
            sudo docker build -t master-jacoco-2.0.0-bug .
            sudo docker run -it -p 9090:8080 -p 60000:50000 master-jacoco-2.0.0-bug
            
      • Build git-client-coverage job once
      • Select the left axis of the "Code Coverage Trend" graph

      The page which appears will show raw HTML instead of showing the expected chart or table. Refer to the attached picture to see the results.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              ognjenb Ognjen Bubalo
              Reporter:
              markewaite Mark Waite
              Votes:
              15 Vote for this issue
              Watchers:
              21 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: