Create Azure DevOps plugin procedures

1 minute readExtensibilityDeveloper productivity
On this page

Plugin procedures can be used in procedure steps, process steps, and pipeline tasks, allowing you to orchestrate third-party tools at the appropriate time in your component, application process, or pipeline.

Run DevOps

Runs Azure DevOps commands with the authorization data provided in the plugin’s configuration.

Input parameters

Table 1. Run DevOps input parameters
Parameter Description

Configuration name

Required. The previously defined configuration for the plugin.

Reference group

Required. Reference group. For example, devops and repos.

Reference subgroup(s)

Reference subgroup(s). If you provide more than one subgroup, separate each subgroup with a space. For example: project ref policy approver-count policy case-enforcement.

Reference subgroups should have the same order/precedence as they are used in the Azure CLI command.

Command

Required. Azure CLI command to execute. For example, create, update, list and delete.

Arguments

Command arguments listed one per line. Some commands require you to accept a confirmation prompt. For these commands, add the -y argument to accept it.

The following items are examples of valid arguments:

  • --name ProjectName

  • --org https://dev.azure.com/organizationname

  • -y

  • --yes

Environment variables

Provide additional environment variables to the command. This field content and variables from the configuration are merged, and this field takes precedence.

Output file

If a value is provided, the command output is saved to this file instead of the output parameter. The output parameter is left empty when using this option.

Output parameters

Table 2. Run DevOps output parameters
Parameter Description

output

The response received from the Azure DevOps.