[JIRA] (JENKINS-13916) Multiline text parameter displays as single line

4 views
Skip to first unread message

gaurav.raval@gmail.com (JIRA)

unread,
Aug 11, 2016, 4:59:01 AM8/11/16
to jenkinsc...@googlegroups.com
Gaurav Raval commented on Bug JENKINS-13916
 
Re: Multiline text parameter displays as single line

This is broken with Jenkins ver. 2.8

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)
Atlassian logo

aravind_iiit@yahoo.com (JIRA)

unread,
Dec 29, 2016, 3:30:01 PM12/29/16
to jenkinsc...@googlegroups.com

We are also noticing the issue after the latest upgrade to Jenkins. (Jenkins 2.19.3)

If there is a multi-line text parameter, on "Rebuild" it is chopping off the new-lines and showing up as one long concatenated string of all the values together.

hans.schulz@sap.com (JIRA)

unread,
Jan 24, 2017, 9:04:02 AM1/24/17
to jenkinsc...@googlegroups.com
Hans Schulz reopened an issue
 

Reopening this issue since it is not completely fixed. When rebuilding, lines are still collapsed.

Jenkins / Bug JENKINS-13916
Change By: Hans Schulz
Resolution: Fixed
Status: Resolved Reopened

hans.schulz@sap.com (JIRA)

unread,
Feb 15, 2017, 9:26:03 AM2/15/17
to jenkinsc...@googlegroups.com
Hans Schulz commented on Bug JENKINS-13916
 
Re: Multiline text parameter displays as single line

Just updated to Jenkins 2.45, issue is fixed now, also when rebuilding. Ill close it again...

hans.schulz@sap.com (JIRA)

unread,
Feb 15, 2017, 9:26:03 AM2/15/17
to jenkinsc...@googlegroups.com
Hans Schulz closed an issue as Fixed
 
Change By: Hans Schulz
Status: Reopened Closed
Resolution: Fixed

cryan@redhat.com (JIRA)

unread,
Jan 14, 2019, 6:14:02 PM1/14/19
to jenkinsc...@googlegroups.com
Chris Ryan reopened an issue
 

Hello,

We are also seeing this behavior on Jenkins ver. 2.89.4, running on a Red Hat Enterprise Linux 7.4 host.

We have a standard Jenkins Pipeline job, which contains a Multi-line String Parameter (it is the second of two parameters, the first being a String Parameter). When first clicking "Build with Parameters", the Multi-line parameter appropriately appears as a multi-line textarea box. This job is triggered by a CI bus message event automatically, so this field is normally auto-populated by the CI message, containing multiple lines of information.

However, when a completed (Failed or Successful) job is rerun using "Rebuild" (either clicking on the "Rebuild" link next to the job number on the main job page, or visiting (<jenkins_url>/job/<job_name>/<job_number>/rebuild/parameterized), the same parameter is displayed as a single-line input box. If we continue with this Rebuild process, the job will fail, as the parameter is now condensed into one line. If we click "Rebuild"  from this new failed secondary job (say, #2), the parameter appropriately appears again as a textarea. This is consistently repeatable.

The screenshots at the top of this issue are consistent with the behavior we are seeing, but we are also happy to provide additional screenshots, or browser inspector code/console output. We were not able to see anything in the Jenkins logs that are related to this issue, but we could very well be missing something.

Any help would be greatly appreciated. Thank you!

Change By: Chris Ryan
Resolution: Fixed
Status: Closed Reopened
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

pmacneil@symitar.com (JIRA)

unread,
Feb 11, 2019, 6:36:04 PM2/11/19
to jenkinsc...@googlegroups.com
Peter MacNeil commented on Bug JENKINS-13916
 
Re: Multiline text parameter displays as single line

We are having this same experience in promotions with the Multi-Line String Parameter. Before the first execution of the promotion a multi-line  field is displayed and multi-line values can be inputted and captured by our scripting.

As soon as the promotion runs the multi-line field is replaced by a single line field with our multi-line data all on one line.

Clicking "Re-execute promotion" and all lines of the string value are all on one line. The multi-Lines have been lost.

We would greatly appreciate a solution to this so we can use a Multi-Line string input.

Thank you All!

pmacneil@symitar.com (JIRA)

unread,
Feb 11, 2019, 6:37:02 PM2/11/19
to jenkinsc...@googlegroups.com
Peter MacNeil edited a comment on Bug JENKINS-13916
We are having this same experience in promotions with the Multi-Line String Parameter. Before the first execution of the promotion a multi-line  field is displayed and multi-line values can be inputted and captured by our scripting.

As soon as the promotion runs the multi-line field is replaced by a single line field with our multi-line data all on one line.

Clicking "Re-execute promotion" and all lines of the string value are all on one line. The multi-Lines have been lost.

We are running Jenkins 2.150.2.

We
would greatly appreciate a solution to this so we can use a Multi-Line string input.

Thank you All!

michael.kostukov@gmail.com (JIRA)

unread,
Feb 21, 2019, 12:26:06 PM2/21/19
to jenkinsc...@googlegroups.com

musiren@gmail.com (JIRA)

unread,
Feb 26, 2019, 8:06:03 PM2/26/19
to jenkinsc...@googlegroups.com
Hwang Jae-young commented on Bug JENKINS-13916
 
Re: Multiline text parameter displays as single line

That issue has been reproduced with Jenkins 2.138.2 version.

Symptom is same with Peter MacNeil

it is displayed as a multi-line at first execute promotion time,

but after than (Re-execute promotion), it has been displayed as a single line parameter.

 

Reagards,

Francis

cannie.sjc@gmail.com (JIRA)

unread,
May 17, 2019, 12:35:03 AM5/17/19
to jenkinsc...@googlegroups.com

issues seen from 2.150.1

new line was removed from a Multi-Line string parameter if the job is triggered via a scheduler. ( therefor, we can not re-submit the job if the job is triggered by scheduler

new line was perserved if the job is triggered with a manual submission

 

pmacneil@symitar.com (JIRA)

unread,
May 17, 2019, 1:09:02 PM5/17/19
to jenkinsc...@googlegroups.com

That's interesting Annie and different from what I saw.
My experience with 2.150.2 was all with manual promotions. Only the first promotion has the new lines intact.
In all subsequent promotions (Re-execute promotion) the multi-line field is displayed as a single line field and new lines have been lost.

 

All the best,

Pete

lightningbladex2@hotmail.com (JIRA)

unread,
Mar 17, 2020, 3:40:02 PM3/17/20
to jenkinsc...@googlegroups.com

Hello,

Issue still exists in 2.204.5.  Is this still being worked on?  

Thanks

This message was sent by Atlassian Jira (v7.13.12#713012-sha1:6e07c38)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages