View on GitHub

Arcus Scripting

Scripting with Microsoft Azure in a breeze.

Azure DevOps

This module provides the following capabilities:

Installation

To have access to the following features, you have to import the module:

PS> Import-Module -Name Arcus.Scripting.DevOps

Setting a variable in an Azure DevOps pipeline

Assign a value to a DevOps pipeline variable during the execution of this pipeline.

Parameter Mandatory Description
Name yes The name of the variable to set in the pipeline
Value yes The value of the variable to set in the pipeline

Example

PS> Set-AzDevOpsVariable "my-variable" "my-variable-value"
# #vso[task.setvariable variable=my-variable] my-variable-value