• Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Minor Minor
    • blueocean-plugin
    • At least BlueOcean versions since 1.21, but actually probably all.

      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:

          [JENKINS-62058] Display newlines in build description

          Edgars Batna added a comment -

          Our Artifacts are quite large and are put on a separate network share. The description contains many paths, making Blue Ocean unusable as the paths are all mangled onto each other.

          Edgars Batna added a comment - Our Artifacts are quite large and are put on a separate network share. The description contains many paths, making Blue Ocean unusable as the paths are all mangled onto each other.

            pscherz Patrick Scherz
            pscherz Patrick Scherz
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: