[JIRA] (JENKINS-62058) Display newlines in build description

7 views
Skip to first unread message

patrick.scherz@gmail.com (JIRA)

unread,
Apr 26, 2020, 3:53:02 PM4/26/20
to jenkinsc...@googlegroups.com
Patrick Scherz created an issue
 
Jenkins / Improvement JENKINS-62058
Display newlines in build description
Issue Type: Improvement Improvement
Assignee: Patrick Scherz
Attachments: image-2020-04-26-21-47-04-652.png, image-2020-04-26-21-47-33-578.png
Components: blueocean-plugin
Created: 2020-04-26 19:52
Environment: At least BlueOcean versions since 1.21, but actually probably all.
Labels: user-experience
Priority: Minor Minor
Reporter: Patrick Scherz

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:

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.13.12#713012-sha1:6e07c38)
Atlassian logo

patrick.scherz@gmail.com (JIRA)

unread,
Apr 26, 2020, 3:54:02 PM4/26/20
to jenkinsc...@googlegroups.com
Patrick Scherz started work on Improvement JENKINS-62058
 
Change By: Patrick Scherz
Status: Open In Progress

patrick.scherz@gmail.com (JIRA)

unread,
Apr 26, 2020, 4:20:03 PM4/26/20
to jenkinsc...@googlegroups.com

patrick.scherz@gmail.com (JIRA)

unread,
Apr 26, 2020, 4:20:03 PM4/26/20
to jenkinsc...@googlegroups.com
Patrick Scherz stopped work on Improvement JENKINS-62058
 
Change By: Patrick Scherz
Status: In Progress Open
Reply all
Reply to author
Forward
0 new messages