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

Windows commands and Remote Server Variables

1. Is there any way for Build Forge (web client only) to prompt a user for variable input before a project is executed? Instead of forcing a user to dig their way into the environment variable list to find the right variable.

2. I can create a step that makes a script which is executed on a remote server, for example set path=%path%;D:\temp\test, but how do I pull the output back to Build Forge? How do you echo the final result from the remote server?

3. Related to question 2, how do you capture a remote server variable and place it within a .set changed variable within Build Forge?

4. Can you execute a command, or "type" log file output from the remote server via using Build Forge email "templates"?

Can someone provide an example of how to do these?

0 votes



2 answers

Permanent link
From my understanding, this could be done using a collector.
However I see no real time examples of how you setup a collector nor how to pull a remote server variable into the build forge server env.

example - username
Goal is to pull this from the remote server and capture to a variable.
run command would be "echo. %username%"
OH sweet I got it...the answer is:
Run Command = echo.%%username%%

I am aware that you can use .bset to capture already collected server variables like "path" or "hostname".
example - .bset env VariableName=`hostname` or
.bset env "Test=`hostname`"

0 votes


Permanent link
Other then the questions above,
Now that I have figured out how to setup a collector,
From my understanding they get placed into a server env variable name.
Currently, I have not had any success being able to echo a manifest variable.
I have tried echo.%VAR%, %%VAR%%, ${VAR} without any success.

How do you echo a manifest variable?

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: May 24 '12, 7:02 p.m.

Question was seen: 4,366 times

Last updated: May 24 '12, 7:02 p.m.

Confirmation Cancel Confirm