-
Notifications
You must be signed in to change notification settings - Fork 3.4k
az pipelines run --parameters is throwing unrecognized arguments error #21534
Copy link
Copy link
Closed
Labels
Auto-AssignAuto assign by botAuto assign by botDevOpsPipelinesService AttentionThis issue is responsible by Azure service team.This issue is responsible by Azure service team.customer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues 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 thatThe issue doesn't require a change to the product in order to be resolved. Most issues start as that
Milestone
Metadata
Metadata
Assignees
Labels
Auto-AssignAuto assign by botAuto assign by botDevOpsPipelinesService AttentionThis issue is responsible by Azure service team.This issue is responsible by Azure service team.customer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues 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 thatThe issue doesn't require a change to the product in order to be resolved. Most issues start as that
Type
Fields
Give feedbackNo fields configured for issues without a type.
Describe the bug
running
az pipelines runwith--paramtersoption throws unrecognized arguments: --parameters error.To Reproduce
az pipelines run --id 3 --parameters platform=ios --output tableresult in
unrecognized arguments: --parameters platform=iosExpected 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)
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.