Lesstep
Azure Pipelines · Agents · Checked November 7, 2026

Azure Pipelines: "No space left on device" on a hosted agent

A job on a Microsoft-hosted agent has the disk of a fresh virtual machine, with Visual Studio, SDKs and other tools already on it, and whatever space is left. Source code, packages, Docker images and build output all go into that space. When it runs out, the step that writes next fails with No space left on device, and Microsoft does not give hosted agents more disk.

When the failing build is a pull request's build validation, the pull request waits on it: Azure DevOps Pull Requests, a plugin for JetBrains IDEs, lists the pull request's branch policies with their state in IntelliJ IDEA or Rider, and with Pro runs a failed build policy again once the fix is pushed. Get it on JetBrains Marketplace

What it looks like

How much space a hosted agent has

Freeing space on the Ubuntu images

Using less

When it does not fit

Azure DevOps pull requests in IntelliJ IDEA and Rider

Azure DevOps Pull Requests, a plugin by Lesstep for JetBrains IDEs 2024.1 or later and Android Studio, reads the organization, project and repository from your git remote and lists the pull requests that wait for your review in an IDE tool window, on Azure DevOps Services and on Azure DevOps Server. It shows the branch policies of a pull request with their state, so a required build that has not passed is next to its pull request, and with Pro you run a failed or expired build policy again from there. The review inbox is free; voting, commenting, completing and creating are Pro, with a 30-day trial.

Get it on JetBrains Marketplace

Azure DevOps and Azure Pipelines are trademarks of Microsoft Corporation; Docker is a trademark of Docker, Inc.; IntelliJ IDEA and Rider are trademarks of JetBrains s.r.o. This page is not affiliated with or endorsed by Microsoft, Docker or JetBrains.

More: We stopped hearing from agent · GitHub Actions: No space left on device · Bitbucket Pipelines: No space left on device · 日本語