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

Execute step on different servers based on condition

Based on an environment variable, I want a step to be executed on different servers (development, test and production for the deployment). What's the best solution to do this?

Thanks
Jirong

0 votes


Accepted answer

Permanent link
The way we do it is to set an environment variable with the server name, followed by this step:

.bset server ${Target_Host}

and then the step that needs to be executed on different servers runs on the default selector.
Jirong Hu selected this answer as the correct answer

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
× 12,026

Question asked: Oct 25 '12, 3:19 p.m.

Question was seen: 4,478 times

Last updated: Oct 26 '12, 12:42 p.m.

Confirmation Cancel Confirm