The following plugin provides functionality available through Pipeline-compatible steps. Read more about how to integrate steps into your Pipeline in the Steps section of the Pipeline Syntax page.

For a list of other such plugins, see the Pipeline Steps Reference page.

Azure CLI Plugin

azureCLI: azure-cli 2.63.0

  • principalCredentialId : String
    The Service Principal credentials required to connect to your Azure account.
    More information can be found here: https://github.com/Azure/azure-devops-utils#user-content-create-service-principal
    If you want to add an Azure credential click "Add" and select "Microsoft Azure Service Principal" from the Kind drop-down.
    If you want to remove existing Azure credentials you must go to the Credentials Dashboard.
  • commands
      Array / List of Nested Object
    • script : String
    • exportVariablesString : String
      Export the output of the command to environment variables
      The format: /"variable from JSON" | "desired environment variable name"
      For example: Output: { "id": "/subscriptions/some-guid/resourceGroups/test", "location": "northeurope", "managedBy": null, "name": "test", "properties": { "provisioningState": "Succeeded" }, "tags": null } Environment Variable String: /location|LOCATION , /name|NAME

Was this page helpful?

Please submit your feedback about this page through this quick form.

Alternatively, if you don't wish to complete the quick form, you can simply indicate if you found this page helpful?

    


See existing feedback here.