...
If you are using the Automated Installer for installing Agents in a silent mode, you can add to the installation commands an Agent option, which will assign the new Agent to a certain Build Group upon its launch.
Note: For more information about using the Automated Installer, see: Silent Installation
The installation option that allows you to assign an Agent to a Build group is Group={Group name}
. This is an Agent option, and it is used as follows: /Agent:Group={Group name}
The Group={Group name}
option is optional. If it is not used, the new Agent will be automatically assigned to the Default Build Group. If this option is used, but the value of the {Group name}
is empty or refers to a non-existent Build Group, the Agent will be assigned to the Default Build Group as well.
> To assign an Agent to a Build Group via the Automated Installer:
Use the following command syntax, and add the name of the Build Group to which you want to assign the Agent as the
{Group name}
value:Code Block IBSetupConsole.exe /Install /Components=Agent /Coordinator={COORDINATORNAME} /Agent:Group={Group name} [General Options] [Agent Options]
For example:
Code Block IBSetupConsole.exe /Install /Components=Agent /Coordinator=win10-1 /Agent:Group=QA
You can also use the Group={Group name}
option while installing a Coordinator together with an Agent.
> To install both a Coordinator and an Agent with an assignment to a Build Group:
Use the following command syntax, and add the name of the Build Group to which you want to assign the Agent as the
{Group name}
value:Code Block IBSetupConsole.exe /Install /Components=Coordinator,Agent /Coordinator={COORDINATORNAME} /Agent:Group={Group name} [General Options] [Agent Options]
You can also use the Group={Group name}
option while allocating a Single-Use VM license to an Agent during its installation.
> To install an Agent with a Single-Use VM license and an assignment to a Build Group:
Use the following command syntax, and add the name of the Build Group to which you want to assign the Agent as the
{Group name}
value:Code Block IBSetupConsole.exe /Install /Components=Agent,oneuse /Coordinator={COORDINATORNAME} /Agent:Group={Group name} [General Options] [Agent Options]
...