• Icon: Bug Bug
    • Resolution: Postponed
    • Icon: Minor Minor
    • blueocean-plugin
    • None

      The description of a build can be set via currentBuild.description = '....'. However, I am unable to set a line break. Neither using <br> nor using \n.

       

      The description should ideally use the Markup Formatter that is defined in the Jenkins Security Settings.

          [JENKINS-45181] Description does not display line breaks

          James Dumay added a comment -

          kevcodez the design we have only caters for a single line on both the messages column and the pipeline result details header. Allowing arbitrary amounts of formatting and information there would significantly impact the design. Ill be honest, we are unlikely to change that in the next year. However sometime next year we are planning a redesign of those screens so we could consider it then.

          Thanks for reporting.

          James Dumay added a comment - kevcodez the design we have only caters for a single line on both the messages column and the pipeline result details header. Allowing arbitrary amounts of formatting and information there would significantly impact the design. Ill be honest, we are unlikely to change that in the next year. However sometime next year we are planning a redesign of those screens so we could consider it then. Thanks for reporting.

          I think it will be OK not to change design — just do like Git — display only first line of multiline description on page with builds list and full description on build page

          Alexey Marchenko added a comment - I think it will be OK not to change design — just do like Git — display only first line of multiline description on page with builds list and full description on build page

            Unassigned Unassigned
            kevcodez Kevin Grüneberg
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: