CmdID / az / az pipelines / az pipelines build
az pipelines build cancel
Cancels if build is running. Azure CLI extensions reference
2 options Its page in the Azure CLI extensions reference
Options
--build-idID of the build.--openOpen the build results page in your web browser.