BuildForge Help

.bset

.bset env "<VariableName>=<DesiredValue>" ["<VariableName>=<DesiredValue>"]
.bset selector <SelectorName>
.bset server <ServerName>
.bset buildserver <ServerName>

The .bset command changes project settings temporarily during a job. The command has several options:

The .bset changes do not take effect until the current step completes. For example, if your step includes multiple commands as in the following example, the second line operates in an environment unmodified by the .bset command:
.bset env "CompilerVersion=1.1"
compile driverset 

When the second line executes, the CompilerVersion value has not been set. To remedy this, move the compile command to the following step.

You can use backtick syntax to set the server name to the output of a command. For example, the command
.bset server `SelectAServer.sh`
runs the SelectAServer.sh script and provides its output as the server name for the .bset server command.
Note: Using multiple .bset commands in threaded steps is not recommended.