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

HTML Publisher Plugin not rendering CSS/JS in HTML reports after recent Jenkins update

XMLWordPrintable

      After a recent update to Jenkins, HTML reports published using the HTML Publisher Plugin are not rendering properly. The `report.html` file opens, but associated CSS and JavaScript files are not applied, resulting in a plain-text or unstructured view.

      Previously, the same configuration displayed well-formatted reports. The ExtentReports folder includes subfolders (css, js, media), and the plugin is correctly configured with:

      • Directory: ExtentReports/
      • Index: report.html

      We suspect that CSP or Jenkins core behavior might have changed and is now blocking JS/CSS.

      Steps to reproduce:
      1. Configure HTML Publisher Plugin with ExtentReports folder
      2. Trigger a test run that generates the report
      3. Open published `report.html` from Jenkins sidebar

      Expected:

      • Fully styled report with all assets loaded

      Actual:

      • HTML loads without CSS or JS, making the report unreadable

      This is impacting automation visibility and report sharing. Please advise or suggest a workaround if it's a security change.

      Screenshots attached.

            r2b2_nz Richard Bywater
            bhanu9515 P BHANU PRAKASH
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: