CI run step output variable is not working with multiline string values
next fiscal quarter
P
Pink Salamander
Currently the multiline string values are not supported with the CI run step output variable. We need to be able to use multiline string as the value for run step output variable
Log In
Canny AI
Merged in a post:
NG CD Container Step Multiline Output Var Failure
M
Melodic Sturgeon
When outputting a multiline variable from a Container step, Harness behaves strangely and does not populate the variable at all. If you look at the Output tab you can see the last line of the var showing up to an empty var name.
N
Nofar Bluestein
next fiscal quarter
N
Nofar Bluestein
planned
Q
Quinacridone magenta Finch
Closest I got was this, but this doesnt work for getting file contents
#!/bin/bash
Declare a variable to store the output
output=""
output+="Line1\n"
output+="Line2\n"
output+="Line3\n"
Export the output variable
export OUTPUT_LIST=$(echo -e "$output")
This post was marked as
in progress
Q
Quinacridone magenta Finch
Upvoting as its needed for me too
Q
Quinacridone magenta Finch
Spent a couple days trying combinations of different concatenation on the variables. Upvoted this
E
Exceptional Mole
This is also needed for our project.
C
Comfortable Gayal
Can we get a status update on this request? We continue to be blocked on our migration to Harness without this feature and we have not heard back from Harness support for over 8 months now.
Please provide a status update on this request.
C
Comfortable Gayal
Can we get a status update on this request? This is an essential feature and we haven't heard back from Harness support in over 7 months now. Please provide an update and a time estimate.
Thanks
Load More
→