question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Bug] Parameter issue in "az pipelines runs artifact list"

See original GitHub issue

Referring 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:closed
  • Created 4 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
gauravsaralMscommented, May 7, 2019

Thanks for reporting this @s-bauer . We will fix this ASAP

0reactions
atbaggacommented, May 8, 2019

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found