Lesstep
Azure DevOps Services and Server · Branch policies · October 26, 2026

Azure DevOps build validation: expired builds, manual queue, and why a pull request build did not run

A Build validation policy on a branch makes the pull requests into it build with a pipeline before they can be completed. In Azure Repos Git it is also the only way to run a pipeline for a pull request: a pr: trigger in the YAML file does nothing there. Below is how the policy works, what makes its build expire, and how to queue it again, from Microsoft's Set and manage branch policies, Build Azure Repos Git repositories and the REST reference for Requeue Policy Evaluation.

The settings

What the build runs on

Why the pull request build did not run

Expired builds

Queueing it again from the command line and the REST API

Build validation in IntelliJ IDEA

Azure DevOps Pull Requests, a plugin by Lesstep for JetBrains IDEs 2024.1 or later and Android Studio, lists the pull requests of Azure DevOps Services and Azure DevOps Server in an IDE tool window with their branch policies in plain words. A build policy shows its display name and whether it passed, failed, is running, is waiting or has expired, with optional policies marked. With Pro, a build that failed, expired or was never started (a Manual trigger) has a Run again link that queues it through the same REST call. The review inbox and the branch policies are free; voting, commenting, completing, running a build policy again and creating pull requests are Pro, with a 30-day trial.

Get it on JetBrains Marketplace

Azure DevOps is a trademark of Microsoft Corporation; IntelliJ IDEA is a trademark of JetBrains s.r.o. This page is not affiliated with or endorsed by Microsoft or JetBrains.

More: status checks from other services · comment status and the comment resolution policy · auto-complete and optional policies · draft pull requests · required reviewers and path filters · explicit override to bypass policies · 日本語