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

JaCoCo 2.0.0 plugin shows html instead of coverage report chart

    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

            markewaite Mark Waite created issue -
            markewaite Mark Waite made changes -
            Field Original Value New Value
            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|https://github.com/MarkEWaite/docker/commits/master-jacoco-2.0.0-bug] including the git-client-coverage job and plugin configurations
                * {code}git clone git://github.com/MarkEWaite/docker.git{code}
                * {code}cd docker{code}
                * {code}git checkout -b master-jacoco-2.0.0-bug -t origin/master-jacoco-bug{code}
                * {code}sudo docker build -t master-jacoco-2.0.0-bug .{code}
                * {code}sudo docker run -it -p 9090:8080 -p 60000:50000 master-jacoco-2.0.0-bug{code}
            * 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.
            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|https://github.com/MarkEWaite/docker/commits/master-jacoco-2.0.0-bug] including the git-client-coverage job and plugin configurations
                {code}
                git clone git://github.com/MarkEWaite/docker.git
                cd docker
                git checkout -b master-jacoco-2.0.0-bug -t origin/master-jacoco-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
                {code}
            * 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.
            markewaite Mark Waite made changes -
            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|https://github.com/MarkEWaite/docker/commits/master-jacoco-2.0.0-bug] including the git-client-coverage job and plugin configurations
                {code}
                git clone git://github.com/MarkEWaite/docker.git
                cd docker
                git checkout -b master-jacoco-2.0.0-bug -t origin/master-jacoco-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
                {code}
            * 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.
            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|https://github.com/MarkEWaite/docker/commits/master-jacoco-2.0.0-bug] including the git-client-coverage job and plugin configurations
                {code}
                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
                {code}
            * 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.
            markewaite Mark Waite made changes -
            Link This issue is duplicated by JENKINS-31758 [ JENKINS-31758 ]
            kuriozal Piotr Grosicki made changes -
            Priority Major [ 3 ] Critical [ 2 ]
            scm_issue_link SCM/JIRA link daemon made changes -
            Status Open [ 1 ] Resolved [ 5 ]
            Resolution Fixed [ 1 ]
            danielbeck Daniel Beck made changes -
            Link This issue is duplicated by JENKINS-32153 [ JENKINS-32153 ]
            markewaite Mark Waite made changes -
            Status Resolved [ 5 ] Closed [ 6 ]
            csimons Christopher Simons made changes -
            Link This issue is related to JENKINS-32528 [ JENKINS-32528 ]
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 167194 ] JNJira + In-Review [ 209473 ]

              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: