How to batch cancel all queued Runs or Builds in Azure Pipelines

177815150-8443aa84-9493-410c-b2b7-d9fba7

Yesterday, I created a project with 18 Repos. During the batch setting process, I must use the YAML syntax of Azure Pipelines to write, otherwise, using the traditional editor to set, I will definitely feel sour. However, in the process of writing, there was one accidental write failure, which caused 18 CIs to start at the same time, but I only had four pipelines available. When I thought that I would have to wait for all of them to run before testing the next round, I thought I should write a branch. The applet batch is canceled. So this article was born for that, allowing you to quickly cancel any Pipelines jobs that haven’t started yet.

continue reading

This article is reprinted from https://blog.miniasp.com/post/2022/07/07/How-to-cancel-multiple-pending-jobs-in-Azure-DevOps-Pipelines
This site is for inclusion only, and the copyright belongs to the original author.

Leave a Comment