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

HTML Report isn't allowed to run on jenkins client

    • Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Critical Critical
    • htmlpublisher-plugin
    • Jenkins ver. 1.627
      java version "1.7.0_65"
      Jenkins starts as init.d service(default)
      HTMLPublisher plugin version 1.10

      Hi,

      When trying to use the HTML Publish plugin to show some test results I encounter a problem with viewing the results because Jenkins somehow does not allow them.

      When entering the URL I see just a page with some navibar, however when opening the developers console I see the Jenkins does not allow to run script on that page(screenshots attached). I saw that this issue is barely discussed somewhere so i decided to see if there is any known issue about it and how to solve it.

        1. HTML1.jpg
          HTML1.jpg
          370 kB
        2. HTML2.jpg
          HTML2.jpg
          69 kB

          [JENKINS-32184] HTML Report isn't allowed to run on jenkins client

          Amir Sinay created issue -
          Amir Sinay made changes -
          Environment Original: Jenkins ver. 1.627
          java version "1.7.0_65"
          Jenkins starts as init.d service(default)
          New: Jenkins ver. 1.627
          java version "1.7.0_65"
          Jenkins starts as init.d service(default)
          HTMLPublisher plugin version 1.10

          Daniel Beck added a comment -

          Works as intended.

          https://wiki.jenkins-ci.org/display/JENKINS/Configuring+Content+Security+Policy

          Sadly the specified Jenkins version is incorrect, as 1.627 did not have this behavior. Please be more careful when reporting an issue.

          Daniel Beck added a comment - Works as intended. https://wiki.jenkins-ci.org/display/JENKINS/Configuring+Content+Security+Policy Sadly the specified Jenkins version is incorrect, as 1.627 did not have this behavior. Please be more careful when reporting an issue.
          Daniel Beck made changes -
          Resolution New: Not A Defect [ 7 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          Igor Iric made changes -
          Comment [ I have exactly the same problem after update to new Jenkins ver. 1.625.3 and Plugin 1.10.
          Java Version 1.8.0_66-b18
          Tomcat 6.0.
          Does anyone know how to solve it.
          I have this problem when I want to display dotcover html reports and also jmeter html reports.... ]

          mcrooney added a comment -

          mcrooney added a comment - iiric , as per the comment before yours, please see https://wiki.jenkins-ci.org/display/JENKINS/Configuring+Content+Security+Policy
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 167758 ] New: JNJira + In-Review [ 198267 ]
          Richard Bywater made changes -
          Status Original: Resolved [ 5 ] New: Closed [ 6 ]

            mcrooney mcrooney
            voolkanus Amir Sinay
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: