if env variable can contain new line
![]()
Hi,
I assgin a string to an env variable, e.g. 1. aaaaaa 2. bbbbbb but when I use ${} to get the variable value, it shows 1. aaaaaa 2. bbbbbb, it is not what I want, my question is if env variable can contain new line? thank you! |
2 answers
![]()
According to buildforge infocenter, the variable can only contain concatenate text.
Now I am using a clumsy method to print next line. 1)Define 10 variables in env group 2)add the 10 vars to notification template 3)excute a command and output to a file on a project's step 4)use shell command to get the line you want from the file, assign to a var with using .bset env "v1=`sed -n '2p' file`" It's useful for me,hehe. |
![]()
Hi All,
A BF contributor has left our team. One of his Environments has this variable set: The "Type" is "Standard Variable The "Name" is "PULLDOWN_selected_level" The value of "On Project" is "Suppress Display" Can someone demystify this Env variable? Specifically, this piece: sidev_dyn_env:76:fc1ebd410c4e1000bd7139ad73047304: What does the :76: refer to? I know :fc1ebd410c4e1000bd7139ad73047304: is a UUID, but what BF object does it point to? Thanks, --Randy |
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.