Lesstep
Azure Pipelines · job timeouts · Checked November 9, 2026

Azure Pipelines: "ran longer than the maximum time of 60 minutes"

The full message reads The job running on agent ... ran longer than the maximum time of 60 minutes. Sixty minutes is two different limits: the default job timeout, which you raise in the YAML, and the time limit of the free Microsoft-hosted job in a private project, which nothing in the YAML raises. Which one stopped your job depends on the agent and on what the organization pays for.

Which limit stopped the job

Where the job runsNo timeoutInMinutestimeoutInMinutes: 0A larger value
Self-hosted agent60 minutesNo limitThat value
Microsoft-hosted, private project, free tier60 minutes60 minutesStill 60 minutes
Microsoft-hosted, paid parallel job60 minutes360 minutesUp to 360 minutes

When the job 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, Rider or PyCharm, and with Pro runs a failed build policy again once the job fits. Its Pipelines tab (version 1.0.86 and later) lists the runs of the repositories you have open and opens a failed task's log in the editor, free to read.

Where timeoutInMinutes goes

jobs:
- job: Build
  timeoutInMinutes: 120
  pool:
    vmImage: ubuntu-latest
  steps:
  - script: ./build.sh

On the free tier

When the job usually takes much less

Similar messages

Azure DevOps pull requests in IntelliJ IDEA, Rider and PyCharm

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; IntelliJ IDEA, Rider and PyCharm are trademarks of JetBrains s.r.o. This page is not affiliated with or endorsed by Microsoft or JetBrains.

More: all potential agents are running other requests · No hosted parallelism has been purchased or granted · We stopped hearing from agent · Build validation · 日本語