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

Multi-line messages shall be displayed with line breaks

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Trivial Trivial
    • None
    • Jenkins 1.565.1
      analysis-core 1.57
      warnings 4.40

      We have a compiler that outputs multi-line warnings, like below example:

      1. Compiling source file [sources/source.c]
        In file included from sources/source.c:25:0:
        includes/header.h:47:39: warning: [13492] redundant redeclaration of 'symbolXYZ' [-Wredundant-decls]
        includes/anotherHeader.h:150:32: note: previous declaration of 'symbolXYZ' was here

      We have implemented a parser for the warnings plugin that correctly retains the line breaks, but analysis-core plugin displays these messages without line breaks.
      For debugging purposes the line breaks are very useful, thus the analysis-core plugin shall also display them.

          [JENKINS-25560] Multi-line messages shall be displayed with line breaks

          Ulli Hafner added a comment -

          The message is directly copied into the HTML document. All browsers ignore line breaks in rendering.

          Ulli Hafner added a comment - The message is directly copied into the HTML document. All browsers ignore line breaks in rendering.

          Ulli Hafner added a comment - - edited

          With fix for JENKINS-25511 you should now be able to insert XML line breaks into your message.

          Ulli Hafner added a comment - - edited With fix for JENKINS-25511 you should now be able to insert XML line breaks into your message.

            drulli Ulli Hafner
            matmoers Matthias Moers
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: