BuildForge Help

Creating a Selector

Use selectors to define the criteria for choosing a server for a project or step. For example, you can create the following selectors to accomplish specific tasks:
  • A selector with no variables. Such a selector will select the first enabled server it finds in the database.
  • A selector to choose a specific server by name. To do so, create a variable BF_NAME ==<server name>
  • A selector to choose any Windows server: OS_SYSNAME contains Win.

To create a selector:

  1. Select Servers > Selectors .
  2. Enter a name for the new selector in the Selector Name field.
  3. Select an Access Group to designate which users can view and/or modify this selector.
  4. Click the Save button. The system displays the (empty) selector variable list for the new selector. You can now add variables to define the types of servers that will be selected. Complete the following steps for each variable:
    1. Select a Variable Name.
    2. Select an Operator. The system provides various arithmetic operators, with == used for equality. It also includes a special string operator, "contains".
    3. Specify a Value for the variable.
    4. If you want this variable to be optional, set the Required field to No.
    5. Click the Save Variable button. When you do this, the system adds the new variable to the list and presents you with a new blank form for entering another variable.

      When you are done, click Save Variable to save the variables you added.

Related concepts
Manifests
Selectors
Built-in Properties Reference
Special Manifest Properties
Special Set Value Properties
Collectors
Selecting the Server for a Project or Step