Overview - Build timeouts
What is it?
Build timeouts are settings in Jenkins that stop a build if it runs longer than a set time. This prevents builds from hanging forever and wasting resources. It helps keep the build system healthy and responsive by automatically stopping stuck or slow builds.
Why it matters
Without build timeouts, builds could run endlessly due to errors or external issues, blocking other work and consuming resources. This slows down development and wastes computing power. Timeouts ensure builds finish in a reasonable time or fail fast, so teams can fix problems quickly and keep delivery smooth.
Where it fits
Before learning build timeouts, you should understand basic Jenkins jobs and pipelines. After mastering timeouts, you can explore advanced build controls like retry strategies, parallel builds, and resource management.