--- title: "Set Configuration Variable" ---
This is generated from the built in components of BuildMaster 2023.0, and may be different than what you have installed (especially if you have extensions); go to [Gear Icon] -> Administration -> Operations within your BuildMaster instance to see exactly what operations are available.

Creates or updates a variable in BuildMaster.

Script usage:

Set-ConfigurationVariable(
	Variable: <text>,
	Value: <RuntimeValue>,
	[Application: <text>],
	[ApplicationGroup: <text>],
	[Deployable: <text>],
	[Server: <text>],
	[ServerRole: <text>],
	[Environment: <text>]
);

This operation may be prefixed with Core::, although this is a built-in namespace and isn't really necessary.

Arguments:

NameFormatScript UsageUsage Notes
Variable name (default)
text
Variable
This argument is required.
Variable value
RuntimeValue
Value
This argument is required.
Application
text
Application
Application group
text
ApplicationGroup
Deployable
text
Deployable
Server
text
Server
Server role
text
ServerRole
Environment
text
Environment