azure-pipelines

Queue, monitor, and cancel Azure DevOps pipeline builds via Azure CLI.

189k|41.5k|Updated Sep 3, 2015
One-click install
npx skills add https://github.com/microsoft/vscode --skill azure-pipelines-microsoft
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: azure-pipelines
Source: https://github.com/microsoft/vscode/tree/main/.github/skills/azure-pipelines
Command: npx skills add https://github.com/microsoft/vscode --skill azure-pipelines-microsoft

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill helps developers efficiently validate changes to Azure DevOps pipelines for the VS Code build without waiting for slow CI runs.

Core Features & Use Cases

  • Queue Builds: Trigger new pipeline builds with specific parameters or on custom branches.
  • Check Status: Monitor the progress and results of running or completed builds.
  • Cancel Builds: Stop unnecessary or outdated builds to free up resources.
  • Use Case: After modifying a pipeline YAML file, you can quickly queue a build on your feature branch, monitor its progress, and iterate on your changes based on the results, all from your local machine.

Quick Start

Use the azure-pipelines skill to queue a new build on the current branch.

Frequently Asked Questions about azure-pipelines

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I queue an Azure DevOps pipeline build on a custom branch?

You can queue an Azure DevOps pipeline build on a custom branch by triggering a new build with specific parameters through the Azure CLI and a Node.js script. This lets you validate pipeline YAML changes locally without waiting for slow CI runs.

What is the best way to check the status of a running Azure pipeline build?

The best way to check Azure pipeline build status is using the Azure CLI to monitor the progress and results of running or completed builds. This allows you to iterate on your changes based on the results directly from your local machine.

Can I cancel running Azure Pipelines builds to free up CI/CD resources?

Yes, you can cancel running Azure Pipelines builds to free up resources. The skill automates stopping unnecessary or outdated builds using the Azure CLI, helping you manage your build automation workflow efficiently.

Does this pipeline validation approach require the Azure CLI?

Yes, pipeline validation with this approach requires the Azure CLI and a Node.js script to automate build management. You need these dependencies to queue builds, check status, and cancel runs for the VS Code project.

Why queue a new build locally after modifying a pipeline YAML file?

You queue a new build locally after modifying a pipeline YAML file to efficiently validate changes without waiting for slow CI runs. This streamlines your CI/CD workflow by letting you monitor progress and iterate quickly.