Multi-line input set variables
long-term
T
Thistle Ocelot
We would like to submit a feature request for allowing input variables to be multi-line. Some of our inputs are JSON objects and it would be much easier for troubleshooting and implementation purposes if the input for those JSON variables were multi-line so we did not have to minify the JSON (often hiding subtle differences)
Log In
Sudarshan Purohit
marked this post as
long-term
N
Nofar Bluestein
marked this post as
open
T
Thistle Ocelot
Has there been any update on the question below, this has been unanswered for nearly a month now.
T
Thistle Ocelot
Any update on the question listed below?
T
Thistle Ocelot
Just to be sure, I'm asking for multi-line input (not output) variables. So when you are setting up an Input Set, the ability to have a multi-line text area. Is that what this feature flag would do?
F
Flamingo pink Shrew
marked this post as
pending feedback
F
Flamingo pink Shrew
Hey Michael,
This feature is behind the feature flag: CI_ENABLE_MULTILINE_OUTPUTS_SECRETS. Please reach out to your support team to enable this on your environment.
Here are some details on how we've implemented it:
Multiline Output Variables: CI steps support multiline output variables, including special characters such as \n, \t, \r, \b, maintaining shell-like behavior.
Complete Output Support: Output variables support both output secrets and output strings.
JSON Preservation: JSON data can be passed as-is without automatic minification.
Increased Output Variable Capacity: The maximum output variable size is approximately 131,072 characters, up from 65,536.
Some known technical limitations to consider as you use this feature:
The maximum size of output variables is constrained by the operating system's ARG_MAX parameter, which limits command line arguments and environment variables.
Exceeding this limit will result in the error:
fork/exec /bin/sh: argument list too long
This is actually implemented by the OS and not a feature limitation
Thank you
Regards
Shivkumar Loka
Harness Product Team