Skip to content

az pipelines run --parameters is throwing unrecognized arguments error #21534

@neoswallow

Description

@neoswallow

Describe the bug
running az pipelines run with --paramters option throws unrecognized arguments: --parameters error.

To Reproduce
az pipelines run --id 3 --parameters platform=ios --output table
result in
unrecognized arguments: --parameters platform=ios

Expected behavior
It should run the pipeline of given id with parameter platform set to ios

Environment summary

Install Method: homebrew
CLI version: (result of az --version)

azure-cli                         2.34.1

core                              2.34.1
telemetry                          1.0.6

Extensions:
azure-devops                      0.22.0
interactive                        0.4.5

Dependencies:
msal                              1.16.0
azure-mgmt-resource               20.0.0

Python location '/opt/homebrew/Cellar/azure-cli/2.34.1/libexec/bin/python'
Extensions directory '/Users/*****/.azure/cliextensions'

Python (Darwin) 3.10.2 (main, Feb  2 2022, 05:51:25) [Clang 13.0.0 (clang-1300.0.29.3)]

OS version: macOS 12.2.1
Shell Type: zsh, fish

Additional context

Document website https://docs.microsoft.com/en-us/cli/azure/pipelines?view=azure-cli-latest#az-pipelines-run list this option but it simply doesn't work, at least on macOS version.

Metadata

Metadata

Assignees

Labels

Auto-AssignAuto assign by botDevOpsPipelinesService AttentionThis issue is responsible by Azure service team.customer-reportedIssues that are reported by GitHub users external to the Azure organization.questionThe issue doesn't require a change to the product in order to be resolved. Most issues start as that

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions