[Bug] Parameter issue in "az pipelines runs artifact list"
See original GitHub issueReferring to https://github.com/Azure/azure-cli-extensions/issues/676
I’m trying to get all artifacts for a given buildId. I use the following command:
az pipelines runs artifact list --run-id [BuildId] --org "https://dev.azure.com/[MyOrg]" --project "[MyProject]"
however it throws the error, that you can see in the referenced issue. However I figured out there’s probably a parameter mapping problem. If i switch “–project” and “–run-id” it works:
az pipelines runs artifact list --project [BuildId] --org "https://dev.azure.com/[MyOrg]" --run-id "[MyProject]"
Please fix this!!
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (2 by maintainers)
Top Results From Across the Web
"az pipelines runs artifact list" fails on any --project input #3790
Describe the bug Command Name az pipelines runs artifact list Extension Name: azure-devops. Version: 0.8.0. Errors: build_id must be type ...
Read more >Troubleshoot pipeline runs - Azure DevOps - Microsoft Learn
You can use the following troubleshooting sections to help diagnose issues with your pipeline. Most pipeline failures fall into one of these categories....
Read more >Artifact with name '{name}' was found, but is of type 'Container'.
az pipelines runs artifact download --run-id {run-id} --artifact-name {artifact.name} --path {outfile}. ERROR: Encountered an unexpected error. ArtifactTool ...
Read more >referencing pipeline in DownloadPipelineArtifact Step with ...
According to the arguments document of Download Pipeline Artifacts task, the value of pipeline parameter should be the definition ID of the ...
Read more >Configuring CI/CD Pipelines as Code with YAML in Azure ...
Stuggling to get 'Run pipeline' working: Encountered error(s) while parsing pipeline YAML: /azure-pipelines.yml: (Line: 52, Col: 9, Idx: ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks for reporting this @s-bauer . We will fix this ASAP
Release ETA: Mid or end of next week.
If it is for your personal machine. I can share a extension build now which you can use. Let me know if that would help.