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

PATH=Z:\;%PATH%

Both my BF mgmt server and agents are on Windows.

I added a bf env variable as:

_MAP  Y:=\\ccreqpwebp01\Java

PATH   Y:;%PATH%,  results in PATH=Z:\;PATH
PATH   Y:;%%PATH%%,  results in PATH=Z:\;%PATH%

The step error says referring to undefined variable. So I have to put the exact full path now.


What's wrong?

0 votes



One answer

Permanent link
 First I would use the ${PATH}, notation to avoid confusion.  You want BF to handle the prepending of Z: to the PATH variable correct?  Next is 'PATH' defined in the BF log?  It is case sensitive.  If it is remapping Y: to Z:, make sure that Windows on the agent does not already map Y: or Z: to something.

Since PATH is already resolving to PATH, doubling the variable to %%PATH%% probably won't help as BF will parse it to %PATH%, but since PATH isn't in BF, it probably won't resolve on the Agent OS.  My best guess is that its probably Path, not PATH.

~Spencer


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: Feb 15 '13, 2:42 p.m.

Question was seen: 5,980 times

Last updated: Feb 15 '13, 3:18 p.m.

Confirmation Cancel Confirm