.bset

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

During a job, the .bset command changes project settings temporarily.

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: For Perl engines, .bset server and buildserver do not affect inline steps.
Important: Avoid using multiple .bset commands in threaded steps.

Feedback