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.
More on Architecture, executors & JENKINS_HOME
What are the main components of a Jenkins installation?BeginnerWhy should the built-in node have 0 executors?BeginnerWhat is `JENKINS_HOME` and what are its most important contents?BeginnerWhat happens if you lose the `secrets/` directory but keep `credentials.xml`?AdvancedHow does an agent communicate with the controller?IntermediateWhat is the build queue and what can keep an item waiting in it?Intermediate