Long enough title? It might be longer than the actual article content.
If you need to queue a yaml pipeline in Azure DevOps from a script, you may be tempted to use the az cli and the devops extension. The extension is useful, but has some bugs/gaps I would recommend using it in combination with the Azure DevOps REST API.
This DOES NOT work:
az pipelines run --organization "https://dev.azure.com/organization/" `
--project "project" `
--name "Pipeline" `
--open `
--variables foo=bar --debug
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 Replies to “How to Queue an Azure DevOps yaml Pipeline with Parameters from PowerShell”