• Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Minor Minor
    • htmlpublisher-plugin
    • None
    • Chrome 49.0.2623.87
      Jenkins ver. 1.656
      HTML Publisher Plugin v1.11

      Hi,

      I have a html coverage report which encoding 'utf-8', but htmlpublisher-plugin shows wrong on chrome, it can not readable "table & color". if used ie browser it can show normal.

      if just open it with chrome, it is normal. but open it with chrome in jenkins with htmlpublisher-plugin, it is unnormal.

        1. 1.png
          1.png
          108 kB
        2. 2.png
          2.png
          119 kB
        3. 3.png
          3.png
          126 kB
        4. 4.png
          4.png
          147 kB
        5. 5.png
          5.png
          56 kB
        6. 6.png
          6.png
          26 kB
        7. EMMA_Coverage_Report.zip
          79 kB

          [JENKINS-34557] HTML report does not show "table & color"

          bo zhong added a comment -

          ie and qq browser show it normal, but chrome and firefox show it unnormal.

          bo zhong added a comment - ie and qq browser show it normal, but chrome and firefox show it unnormal.

          mcrooney added a comment -

          Could be a Javascript/CSS issue related to CSP, could you check out the HTML Publisher section of https://wiki.jenkins-ci.org/display/JENKINS/Configuring+Content+Security+Policy#ConfiguringContentSecurityPolicy-HTMLPublisherPlugin and see if that helps?

          mcrooney added a comment - Could be a Javascript/CSS issue related to CSP, could you check out the HTML Publisher section of https://wiki.jenkins-ci.org/display/JENKINS/Configuring+Content+Security+Policy#ConfiguringContentSecurityPolicy-HTMLPublisherPlugin and see if that helps?

          bo zhong added a comment -

          checked out the HTML Publisher section of https://wiki.jenkins-ci.org/display/JENKINS/Configuring+Content+Security+Policy#ConfiguringContentSecurityPolicy-HTMLPublisherPlugin, and try to downgrade htmlpublisher-plugin version to 1.4 or 1.9 , 1.10, this problem still exists.

          bo zhong added a comment - checked out the HTML Publisher section of https://wiki.jenkins-ci.org/display/JENKINS/Configuring+Content+Security+Policy#ConfiguringContentSecurityPolicy-HTMLPublisherPlugin , and try to downgrade htmlpublisher-plugin version to 1.4 or 1.9 , 1.10, this problem still exists.

          mcrooney added a comment -

          Thanks Bo, please read the full page. This is due to your Jenkins version, and you'll need at least HTML Publisher 1.10. You'll have to modify your Jenkins settings to allow your Javascript and CSS. It works in IE because IE doesn't support CSP (Content Security Policy).

          mcrooney added a comment - Thanks Bo, please read the full page. This is due to your Jenkins version, and you'll need at least HTML Publisher 1.10. You'll have to modify your Jenkins settings to allow your Javascript and CSS. It works in IE because IE doesn't support CSP (Content Security Policy).

            mcrooney mcrooney
            bobile bo zhong
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: