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.
Data Flow
Each job in this diagram starts separately. See What Starts Each Job.
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-sharedlibrary: Groovy steps for deployment, snapshots, health checks and cleanup. -
Service templates: Compose files,
.envfiles 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.yamlinft-qa-shareddeclares the service dependencies. -
Deploy-Environmentwaits for health checks.Update-Environmentcreates a snapshot.