• Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Major Major
    • core, htmlpublisher-plugin
    • None
    • Jenkins 2.190, JDK 1.8, HTML publisher 1.21

      Hello Team, 

       

      I am facing an issue while publishing a HTML Report as part of my pipeline created. I am trying to publish a HTML report and once the report is published in Jenkins Job and respective build, the HTML report im trying to publish is being generated by Silk Performance Explorer and once it is generated im publishing it to the Jenkins using the Publish HMTL Report plugin, but once the pipeline is completed, the report is opening as blank, though the targeted main HTML page and its dependent objects are packed in the jobs folder of the jenkins in C drive. pls refer the attached view of the published report in jenkins build instance (Appears as white blank page).

       

      Could you please advise me on this issue?

       

          [JENKINS-60953] Publish HTML report in Jenkins Pipeline Build

          The most likely cause of this is incorrectly configured Content Security Policy. See https://wiki.jenkins.io/display/JENKINS/Configuring+Content+Security+Policy for more information.

          Richard Bywater added a comment - The most likely cause of this is incorrectly configured Content Security Policy. See  https://wiki.jenkins.io/display/JENKINS/Configuring+Content+Security+Policy  for more information.

          Hi Richard,

          Thanks for an update. Let me check and get back.

          Chandrakumar Sekar added a comment - Hi Richard, Thanks for an update. Let me check and get back.

          Hi Richard, 

           

          Without changing the content security policy, we are able to get the required HTML report published into the Jenkins build. we made the changes in the input folder directory post which it is displaying the reports instead of blank page. 

          Chandrakumar Sekar added a comment - Hi Richard,    Without changing the content security policy, we are able to get the required HTML report published into the Jenkins build. we made the changes in the input folder directory post which it is displaying the reports instead of blank page. 

          This case can be closed now

          Chandrakumar Sekar added a comment - This case can be closed now

          Hi chandru_s,

          Can you please explain that how you resolved this issue?

          komal Deshmukh added a comment - Hi chandru_s , Can you please explain that how you resolved this issue?

            r2b2_nz Richard Bywater
            chandru_s Chandrakumar Sekar
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: