Summary
Sets a variable in the variable service of the task context.
- Namespace
- Cake
.Common .Build .AzurePipelines - Containing Type
- Azure
Pipelines Commands
Syntax
public void SetVariable(string name, string value)
Remarks
The variable is exposed to following tasks as an environment variable.
Parameters
Name | Type | Description |
---|---|---|
name | string | The variable name. |
value | string | The variable value. |
Return Value
Type | Description |
---|---|
void |