-
Notifications
You must be signed in to change notification settings - Fork 3.4k
az pipelines run set parameters #19732
Copy link
Copy link
Open
Labels
DevOpsPipelinesService AttentionThis issue is responsible by Azure service team.This issue is responsible by Azure service team.act-platform-engineering-squadcustomer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues that are reported by GitHub users external to the Azure organization.
Metadata
Metadata
Assignees
Labels
DevOpsPipelinesService AttentionThis issue is responsible by Azure service team.This issue is responsible by Azure service team.act-platform-engineering-squadcustomer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues that are reported by GitHub users external to the Azure organization.
I have 2 yaml pipelines in different repos within the same project and cannot trigger one from the other as per the documentation.
I've tried changing default branches (which isn't a viable long-term solution) and published artifacts (which isnt required as it uses helm repo). The only way I could do it it to call 'az pipelines run' from the upstream branch. I can use resources:pipelines in the downstream pipeline to create an 'associated pipelines' reference in the upstream branch. However, the reference is created in the previously upstream run, not the current run which calls 'az pipelines run'.
I am hoping to use resources:pipelines:version to ensure the current build is referenced but this does not accept variables from az pipelines run. It is suggested that it will accept parameters so I would like to use that.
The Azure DevOps Services REST API supports parameters but I would prefer to use az cli:
https://docs.microsoft.com/en-us/rest/api/azure/devops/pipelines/runs/run-pipeline?view=azure-devops-rest-6.0
Please add support for setting parameters in az pipelines run command.
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.