Full Log does not render newlines - or use correct content type (weird HTML like artifacts)

XMLWordPrintable

      Scope

      • Force text/plain content type on full log endpoint

      Original Request
      When displaying the full log for a step, e.g. at https://jenkins.my-domain.com/blue/rest/organizations/jenkins/pipelines/Org/project/branches/master/runs/90/log/?start=0, the log is rendered as HTML with colors, anchors, etc., but line breaks are not renders as <br />.

      That's fine to do, but if so, the body should have a `style="white-space: pre-wrap"` or you end up with an enormous wall of unbroken text.

        1. Screen Shot 2016-11-06 at 5.13.08 PM.png
          599 kB
          Samuel Reed
        2. Screen Shot 2016-11-06 at 5.15.33 PM.png
          304 kB
          Samuel Reed
        3. Screenshot from 2016-11-08 10-09-23.png
          160 kB
          Thorsten Scherler
        4. Screenshot from 2016-11-08 10-11-36.png
          70 kB
          Thorsten Scherler
        5. Screenshot from 2016-11-08 10-30-03.png
          143 kB
          Thorsten Scherler
        6. Screen Shot 2016-11-08 at 8.46.12 AM.png
          62 kB
          Samuel Reed
        7. Screen Shot 2016-11-08 at 8.46.24 AM.png
          38 kB
          Samuel Reed
        8. Screen Shot 2016-11-08 at 9.27.42 AM.png
          252 kB
          Samuel Reed

            Assignee:
            Ivan Meredith
            Reporter:
            Samuel Reed
            Votes:
            3 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: