.bset

.bset env "<VarName>=<Value>" [...]
.bset selector <SelectorName> [<SelectorSnapshotName>]
.bset server <ServerName>
.bset buildserver <ServerName>

The .bset command changes project settings temporarily during a job.

Note: The .bset command affects the base build environment for later steps that use that environment. Do not specify a .bset command that relies on a previous .bset command in the same step. For example, do not specify steps similar to the following combination in the same step.
.bset env "VAR1=VALUE1"
.bset env "VAR2=$VAR1"

The command has the following options:

Note: Avoid using multiple .bset commands in threaded steps.

Feedback