azure-pipelines

Queue, monitor, and cancel Azure DevOps pipeline builds for VS Code validation.

Updated Apr 28, 2026
Ready to run
npx skills add https://github.com/CokiStudios/cokistudios.github.io --skill azure-pipelines-cokistudios
💬 Prompt for ChatGPT / Claude Chat▼
Please help me install this Agent Skill.
Skill: azure-pipelines
Source: https://github.com/CokiStudios/cokistudios.github.io/tree/main/vscode-src/.github/skills/azure-pipelines
Command: npx skills add https://github.com/CokiStudios/cokistudios.github.io --skill azure-pipelines-cokistudios

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Validating Azure DevOps pipeline YAML changes normally requires pushing commits and waiting through slow CI feedback loops. This Skill lets you queue validation builds, check status, download logs and artifacts, and cancel obsolete runs directly from the command line using the Azure CLI. ## Core Features & Use Cases - Queue Builds with Custom Parameters: Trigger builds on any branch with the full product-build parameter matrix (platform toggles, publish/release flags, build type) to run fast, targeted validations. - Monitor and Inspect Builds: List recent builds, watch a build until completion with configurable polling intervals, view pipeline stages and jobs, and download specific logs or artifacts to /tmp. - Cancel Obsolete Builds: Stop outdated runs on the same branch before queueing new ones to free up build agents. - Use Case: After editing files in build/azure-pipelines/, push your branch, cancel any stale build, queue a new run with VSCODE_PUBLISH=false and VSCODE_BUILD_TYPE=CI Build, then watch it complete without opening the Azure DevOps portal. ## Quick Start Ask the AI to queue a validation build on the current branch and watch its status until it completes.

Frequently Asked Questions about azure-pipelines

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

FAQPage Schema
How do I test Azure Pipelines YAML changes without waiting for CI?▼

Push your branch, then queue a validation build with the azure-pipeline.ts queue command and watch it with status --watch. You can restrict the build matrix with parameters like VSCODE_BUILD_WEB=false to shorten the run.

How to queue an Azure DevOps build from the command line?▼

Run node .github/skills/azure-pipelines/azure-pipeline.ts queue with an optional --branch flag and repeatable --parameter KEY=value entries. The script wraps az pipelines run against the monacotools/Monaco project, definition 111 by default.

What prerequisites are needed to run Azure pipeline builds locally?▼

You need the Azure CLI installed, the azure-devops extension added via az extension add, and authentication through az login. The script auto-installs the extension if missing and defaults to the monacotools organization.

Can I pass pipeline parameters with spaces in values?▼

Yes, use the repeatable --parameter flag with quoted values such as --parameter "VSCODE_BUILD_TYPE=Product Build". The --parameters flag accepts a space-separated list but its values must not contain spaces.

How do I download Azure DevOps build logs or artifacts?▼

Use status --build-id <id> --download-log <logId> or --download-artifact <name>. Log IDs appear in the stage overview, and files are saved to the system temp directory.

Why should I cancel previous builds before queueing new ones?▼

Cancelling obsolete builds on the same branch frees up build agents and reduces resource waste. Find active build IDs with the status command, then cancel them with cancel --build-id before queueing a fresh run.