[JIRA] (JENKINS-19760) Long hyperlinks in build description not displayed correctly in history widget when using Markdown syntax

5 views
Skip to first unread message

thefriendlycoder@gmail.com (JIRA)

unread,
Aug 15, 2018, 10:25:03 AM8/15/18
to jenkinsc...@googlegroups.com
Kevin Phillips commented on Bug JENKINS-19760
 
Re: Long hyperlinks in build description not displayed correctly in history widget when using Markdown syntax

We are experiencing a similar problem in our production environment, with a slightly different variation. It appears as though the truncation logic in the history widget is taking into account the build ID and time stamp strings in it's calculations for truncation. As a result when our build numbers went from being 5 digits to 6 digits in certain jobs, information that used to be present in the history widget (ie: from the build description) is now being truncated.

What's even stranger is that even though presumably the summary content only grows by 1 or 2 characters (ie: 1 extra digit in the build number, and perhap 1 extra carriage return character to put to the timestamp on the following line) the build description seems to have an entire line of output being truncated which had previously been present.

First off, I wouldn't have expected the timestamp to be wrapped in this case at all since there is plenty of white space surrounding the text currently. So that was odd. Secondly, it seemed odd that the build description would get truncated differently dependent upon how the summary / header information is displayed in the history. I would have expected the descriptive text to be truncated consistently regardless of the header info.

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v7.10.1#710002-sha1:6efc396)

thefriendlycoder@gmail.com (JIRA)

unread,
Aug 15, 2018, 10:36:03 AM8/15/18
to jenkinsc...@googlegroups.com

On a related note, is there any way to customize the truncation length for the history widget?

marat@slonopotamus.org (JIRA)

unread,
Sep 27, 2019, 3:59:04 AM9/27/19
to jenkinsc...@googlegroups.com
Marat Radchenko updated Bug JENKINS-19760
 

Fixed by https://github.com/jenkinsci/jenkins/pull/4209 and should be released in 2.198 next week.

Jenkins / Bug JENKINS-19760
Change By: Marat Radchenko
Status: Open Fixed but Unreleased
Resolution: Fixed
Released As: 2.198
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo

marat@slonopotamus.org (JIRA)

unread,
Sep 27, 2019, 3:59:05 AM9/27/19
to jenkinsc...@googlegroups.com
Marat Radchenko edited a comment on Bug JENKINS-19760
 
Re: Long hyperlinks in build description not displayed correctly in history widget when using Markdown syntax
Fixed by https://github.com/jenkinsci/jenkins/pull/4209 and should be released in 2.198 next week. History widget no longer truncates build description.

marat@slonopotamus.org (JIRA)

unread,
Oct 1, 2019, 2:37:07 AM10/1/19
to jenkinsc...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages