Interview Prep/Jenkins/Architecture, executors & JENKINS_HOME

What is the build queue and what can keep an item waiting in it?

IntermediateConceptArchitecture, executors & JENKINS_HOME
Answer

The queue holds tasks waiting to start. An item waits because of: the quiet period (default 5 s), no online node matches the label, all matching executors are busy, a cloud is still provisioning a node, disableConcurrentBuilds() with a running build, a lock resource held elsewhere, or a blocked upstream/downstream relationship. Hover the item in the queue or read /queue/api/json to see the why field, for example Waiting for next available executor on ‘linux’.

All Jenkins questions Roadmap: Jenkins

More on Architecture, executors & JENKINS_HOME