Environment groups define a set of environments, which can be referenced as the source or destination for object migrations. Environment groups are defined and edited using the Environment Group Workbench.
Use environment groups where you want to run a workflow step on multiple environments. For example, it may be necessary to migrate an object to multiple testing environments for different targeted tests. These multiple environments can be referenced together as one environment group.
ksc_connect command works with environment groups in the "At least one" mode. If the
ksc_connect command attempts to connect to the first server in the environment group and it fails to connect, then the
ksc_connect command tries to connect to the second server in the environment group, and then the third, and so on. When the
ksc_connect command succeeds in connecting to a server, the remaining commands in the object type are run before the command tries to connect to the next server in the environment group. If the
ksc_connect command fails to connect to all servers in the environment group, the command exits with a failure.