Interview Prep/Jenkins/Architecture, executors & JENKINS_HOME

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.
All Jenkins questions Roadmap: Jenkins

More on Architecture, executors & JENKINS_HOME