Interview Prep/Jenkins/Architecture, executors & JENKINS_HOME

What is the difference between a node, an agent and an executor?

BeginnerConceptArchitecture, executors & JENKINS_HOME
Answer

A node is any machine Jenkins can run builds on, including the controller itself (the "built-in node"). An agent is a node other than the controller. An executor is a concurrency slot on a node: an agent with 4 executors can run 4 builds at the same time. In pipeline terms, each node('linux') { } or declarative agent block occupies one executor for its duration.

All Jenkins questions Roadmap: Jenkins

More on Architecture, executors & JENKINS_HOME