Architecture Master-Agent

Master-Agent Architecture: A Succinct Overview

  • Core Concept:
    Jenkins uses a master-agent architecture to distribute and manage build tasks efficiently.

  • Master (Controller):

    • Manages job scheduling, configuration, and plugin integration.
    • Provides the user interface and overall orchestration of builds.
  • Agents (Nodes/Slaves):

    • Execute build jobs and run pipelines.
    • Scale horizontally to handle concurrent jobs and reduce load on the master.
  • Benefits:

    • Scalability: Distribute workload across multiple machines.
    • Resilience: Isolate build processes, improving system stability.
    • Flexibility: Enable different environments for various build tasks.

This architecture allows Jenkins to handle complex CI/CD pipelines efficiently, ensuring faster and more reliable build automation.

Note

  • Master and agent can live on the same machine.