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

Display newlines in build description

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: In Progress (View Workflow)
    • Priority: Minor
    • Resolution: Unresolved
    • Component/s: blueocean-plugin
    • Labels:
    • Environment:
      At least BlueOcean versions since 1.21, but actually probably all.
    • Similar Issues:

      Description

      BlueOcean doesn't display newlines and HTML also always gets escaped, so there is no way to manually wrap lines in the build description.

      We are updating our currentBuild.description in the JenkinsFile with some path of an build artifact that is getting uploaded in the course of the build process.

      E.g.

      stage('upload') {
      ...
      currentBuild.description += "Uploaded ${destination}\n";
      }
      

      can result in a build description of:

      Uploaded /BUILDS/something/v1.0.0/linux/something.tar.gz
      Uploaded Z:\BUILDS\something\v1.0.0\windows\something.zip

       

      Current display on the build page in BlueOcean:

      Expected display:

        Attachments

          Activity

          There are no comments yet on this issue.

            People

            Assignee:
            pscherz Patrick Scherz
            Reporter:
            pscherz Patrick Scherz
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: