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

JaCoCo 2.0.0 plugin shows html instead of coverage report chart

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • jacoco-plugin
    • None
    • Jenkins 1.625.2
      JaCoCo plugin 2.0.0
      Git plugin 2.4.0
      Git client plugin 1.19.0

      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.

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

              Created:
              Updated:
              Resolved: