Closed cveld closed 2 years ago
I spotted the mistake I made.
The error went away with the following small change:
az devops invoke --org https://dev.azure.com/redacted --area pipelines --resource "logs" --route-parameters project=testproject pipelineId=35 runId=$($obj.id) -o json --debug
I.e. replaced $obj.id
with $($obj.id)
.
Describe the bug
Command Name
az devops invoke Extension Name: azure-devops. Version: 0.22.0.
Errors:
To Reproduce:
I am running the following command:
az devops invoke --org https://dev.azure.com/redacted --area pipelines --resource "logs" --route-parameters project=testproject pipelineId=35 runId=$obj.id -o json --debug
Also tried
-o none
,-o tsv
and--out-file outfile
. These all yield the same error.Expected Behavior
Retrieving a list of available logs for the pipeline run.
Environment Summary
Additional Context