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
|
Accepted answer
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
|
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.