Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

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!

0 votes



2 answers

Permanent link
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.

0 votes


Permanent link
Hi All,

A BF contributor has left our team. One of his Environments has this variable set:

PULLDOWN_selected_level=sidev_dyn_env:76:fc1ebd410c4e1000bd7139ad73047304:Report -general LevelView

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

0 votes

Your answer

Register or log in to post 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Aug 10 '11, 7:14 a.m.

Question was seen: 4,415 times

Last updated: Aug 10 '11, 7:14 a.m.

Confirmation Cancel Confirm