Architecture

Friendly Jenkins has three main parts: a Jenkins server, Docker-capable agents and the qa-shared library. File names and older pages say "master" or "controller" for the Jenkins server.

High-Level View

system-overview

Data Flow

Each job in this diagram starts separately. See What Starts Each Job.

data-flow

Components

  • Jenkins server: runs the jobs and shows the web interface. It cannot start containers.

  • Built-in node: the part of the Jenkins server that runs the QA pipelines.

  • Jenkins agents: run Docker Compose on QA servers. You select the agent in DEPLOY_RUNNER.

  • qa-shared library: Groovy steps for deployment, snapshots, health checks and cleanup.

  • Service templates: Compose files, .env files and optional configuration for each service.

  • Jenkins server storage: /var/jenkins_home/qa-data/envs/<env>/ holds the rendered files and metadata.

  • Agent storage: /opt/qa-envs/<env>/ holds the running Compose stack.

Deployment Topology

  • Each environment is one Docker Compose project.

  • Container names follow the pattern <env>_<service>.

  • Service data is in folders under /opt/qa-envs/<env>/.

  • resources/schemas/dependencies.yaml in ft-qa-shared declares the service dependencies.

  • Deploy-Environment waits for health checks. Update-Environment creates a snapshot.