What are the main components of a Jenkins installation?
BeginnerConceptArchitecture, executors & JENKINS_HOME
Answer
- Controller: a Java web app (Jetty inside
jenkins.war) that serves the UI and REST API, stores configuration and build records, holds credentials, runs the build queue and executes pipeline Groovy (CPS). - Agents: machines, VMs, containers or pods that run the actual build steps.
- Executors: slots on a node; one executor runs one build or one
node {}block. - Plugins: nearly every feature, including Pipeline, Git and credentials.
JENKINS_HOME: the directory where all state lives as files.
More on Architecture, executors & JENKINS_HOME
What is the difference between a node, an agent and an executor?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