Skip to main content
Version: v0.1.3

Azure DevOps

This module provides the following capabilities:

Installation#

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

PS> Install-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.

ParameterMandatoryDescription
NameyesThe name of the variable to set in the pipeline
ValueyesThe 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