microsoft/vscode/azure-pipelines
- vendor
Checking that the SKILL.md file is still in the repository.
Use when validating Azure DevOps pipeline changes for the VS Code build. Covers queueing builds, checking build status, viewing logs, and iterating on pipeline YAML changes without waiting for full CI runs.
Install
npx vskill@latest install microsoft/vscode/azure-pipelinesSKILL.md
Validating Azure Pipeline Changes
When modifying Azure DevOps pipeline files (YAML files in build/azure-pipelines/), you can validate changes locally using the Azure CLI before committing. This avoids the slow feedback loop of pushing changes, waiting for CI, and checking results.
Prerequisites
- Check if Azure CLI is installed:
``bash az --version ``
If not installed, install it: ```bash # macOS brew install azure-cli
# Windows (PowerShell as Administrator) winget install Microsoft.AzureCLI
# Linux (Debian/Ubuntu) curl -sL https://aka.ms/InstallAzureCLIDeb | sudo bash ```
- Check if the DevOps extension is installed:
``bash az extension show --name azure-devops ``
If not installed, add it: ``bash az extension add --name azure-devops ``
- Authenticate:
``bash az login az devops configure --defaults organization=https://dev.azure.com/monacotools project=Monaco ``
VS Code Main Build
The main VS Code build pipeline:
- Organization:
monacotools - Project:
Monaco - Definition ID:
111 - URL: https://dev.azure.com/monacotools/Monaco/_build?definitionId=111
VS Code Insider Scheduled Builds
Two Insider builds run automatically on a scheduled basis:
- Morning build: ~7:00 AM CET
- Evening build: ~7:00 PM CET
These scheduled builds use the same pipeline definition (111) but run on the main branch to produce Insider releases.
Queueing a Build
Use the queue command to queue a validation build:
Important: Before queueing a new build, cancel any previous builds on the same branch that you no longer need. This frees up build agents and reduces resource waste:```bash# Find the build ID from status, then cancel itnode .github/skills/azure-pipelines/azure-pipeline.ts statusnode .github/skills/azure-pipelines/azure-pipeline.ts cancel --build-id <id>node .github/skills/azure-pipelines/azure-pipeline.ts queue```
Script Options
| Option | Description | |
|---|---|---|
--branch <name> | Source branch to build (default: current git branch) | |
--definition <id> | Pipeline definition ID (default: 111) | |
--parameter <entry> | Pipeline parameter in KEY=value format (repeatable); use this when the value contains spaces | |
--parameters <list> | Space-separated parameters in KEY=value KEY2=value2 format; values must not contain spaces | |
--dry-run | Print the command without executing |
Product Build Queue Parameters (build/azure-pipelines/product-build.yml)
| Name | Type | Default | Allowed Values | Description | |
|---|---|---|---|---|---|
VSCODE_QUALITY | string | insider | exploration, insider, stable | Build quality channel | |
VSCODE_BUILD_TYPE | string | Product Build | Product, CI | Build mode for Product vs CI | |
NPM_REGISTRY | string | https://pkgs.dev.azure.com/monacotools/Monaco/_packaging/vscode/npm/registry/ | any URL | Custom npm registry | |
CARGO_REGISTRY | string | sparse+https://pkgs.dev.azure.com/monacotools/Monaco/_packaging/vscode/Cargo/index/ | any URL | Custom Cargo registry | |
VSCODE_BUILD_WIN32 | boolean | true | true, false | Build Windows x64 | |
VSCODE_BUILD_WIN32_ARM64 | boolean | true | true, false | Build Windows arm64 | |
VSCODE_BUILD_LINUX | boolean | true | true, false | Build Linux x64 | |
VSCODE_BUILD_LINUX_SNAP | boolean | true | true, false | Build Linux x64 Snap | |
VSCODE_BUILD_LINUX_ARM64 | boolean | true | true, false | Build Linux arm64 | |
VSCODE_BUILD_LINUX_ARMHF | boolean | true | true, false | Build Linux armhf | |
VSCODE_BUILD_ALPINE | boolean | true | true, false | Build Alpine x64 | |
VSCODE_BUILD_ALPINE_ARM64 | boolean | true | true, false | Build Alpine arm64 | |
VSCODE_BUILD_MACOS | boolean | true | true, false | Build macOS x64 | |
VSCODE_BUILD_MACOS_ARM64 | boolean | true | true, false | Build macOS arm64 | |
VSCODE_BUILD_MACOS_UNIVERSAL | boolean | true | true, false | Build macOS universal (requires both macOS arches) | |
VSCODE_BUILD_WEB | boolean | true | true, false | Build Web artifacts | |
VSCODE_PUBLISH | boolean | true | true, false | Publish to builds.code.visualstudio.com | |
VSCODE_RELEASE | boolean | false | true, false | Trigger release flow if successful | |
VSCODE_STEP_ON_IT | boolean | false | true, false | Skip tests | |
VSCODE_USE_LEGACY_OSS_NOTICE | boolean | false | true, false | Keep the legacy mixin ThirdPartyNotices.txt instead of the Component Governance notice |
Example: run a quick CI-oriented validation with minimal publish/release side effects:
Checking Build Status
Use the status command to monitor a running build:
Script Options
| Option | Description | |
|---|---|---|
--build-id <id> | Specific build ID (default: most recent on current branch) | |
--branch <name> | Filter builds by branch name (shows last 20 builds for branch) | |
--reason <reason> | Filter builds by reason: manual, individualCI, batchedCI, schedule, pullRequest | |
--definition <id> | Pipeline definition ID (default: 111) | |
--watch [seconds] | Continuously poll status until build completes (default: 30s) | |
--download-log <id> | Download a specific log to /tmp | |
--download-artifact <name> | Download artifact to /tmp | |
--json | Output raw JSON for programmatic consumption |
Cancelling a Build
Use the cancel command to stop a running build:
Script Options
| Option | Description | |
|---|---|---|
--build-id <id> | Build ID to cancel (required) | |
--definition <id> | Pipeline definition ID (default: 111) | |
--dry-run | Print what would be cancelled without executing |
Testing Pipeline Changes
When the user asks to test changes in an Azure Pipelines build, follow this workflow:
- Queue a new build on the current branch
- Poll for completion by periodically checking the build status until it finishes
Polling for Build Completion
Use a shell loop with sleep to poll the build status. The sleep command works on all major operating systems:
Alternatively, use the built-in --watch flag which handles polling automatically:
Note: The--watchflag polls every 30 seconds by default. Use--watch 60for a 60-second interval to reduce API calls.
Common Workflows
1. Quick Pipeline Validation
2. Investigate a Build
3. Test with Modified Parameters
4. Cancel a Running Build
5. Iterate on Pipeline Changes
When iterating on pipeline YAML changes, always cancel obsolete builds before queueing new ones:
Troubleshooting
Authentication Issues
Extension Not Found
Rate Limiting
If you hit rate limits, add delays between API calls or use --watch with a longer interval.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files. Certified 7 Sep 2026.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryChecking.github/skills/azure-pipelines/SKILL.md
Popularity
- Repository stars
- 191,449
- Repository forks
- 42,038
- 7-day trend score
- 61
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 2 May 2026, 5 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/microsoft/vscode/azure-pipelines)