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

Rendering HTML file from build artifacts is ignoring the <style> settings

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Minor Minor
    • core
    • None
    • Jenkins ver. 1.643. Windows 64-bit OS.

      When a build artifact is an html file, I expect to be able to view it in Jenkins by clicking on it.

      In this example, I would click on 'status.html' and see the HTML rendered in the browser.
      So for example, the URL to the status.html is http://servername:8080/job/some_job_name/30315/artifact/status.html.

      The bug in this case is that when viewing this URL, all the <style> information is missing.

      So instead of looking like this (GOOD):

      It looks like this (BAD, no style):

      If I download the status.html from the Jenkins artifact and open it in Chrome, it looks good.
      I attached the status.html for reference.

      This is a regression, it is not seen in Jenkins ver. 1.590.

        1. BuildArtifacts.png
          BuildArtifacts.png
          5 kB
        2. NoStyle.png
          NoStyle.png
          2 kB
        3. status.html
          0.4 kB
        4. WithStyle.png
          WithStyle.png
          2 kB

            Unassigned Unassigned
            bsluis Ben Sluis
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: