# amitgarg85583/jenkins-zero-to-hero architecture

> Architecture diagram of the GitHub repository amitgarg85583/jenkins-zero-to-hero, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-11). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/amitgarg85583/jenkins-zero-to-hero
- Repository: https://github.com/amitgarg85583/jenkins-zero-to-hero

## Overview

This repository is a Jenkins learning collection with sample pipelines and applications, not a single deployed product. Its documented workflow is to configure Jenkins with a Docker agent, run CI/CD pipelines, and deploy applications to Kubernetes; the tree also includes Django and Spring Boot examples plus Kubernetes manifests. Pipeline and deployment details are not excerpted, so connections specific to those files are left unverified rather than inferred.

Main entry points: [`python-jenkins-argocd-k8s/Jenkinsfile`](https://github.com/amitgarg85583/jenkins-zero-to-hero/blob/main/python-jenkins-argocd-k8s/Jenkinsfile) (Python pipeline), [`java-maven-sonar-argocd-helm-k8s/spring-boot-app/JenkinsFile`](https://github.com/amitgarg85583/jenkins-zero-to-hero/blob/main/java-maven-sonar-argocd-helm-k8s/spring-boot-app/JenkinsFile) (Java pipeline), [`python-jenkins-argocd-k8s/todos/urls.py`](https://github.com/amitgarg85583/jenkins-zero-to-hero/blob/main/python-jenkins-argocd-k8s/todos/urls.py) (Todo routes), [`python-jenkins-argocd-k8s/todos/views.py`](https://github.com/amitgarg85583/jenkins-zero-to-hero/blob/main/python-jenkins-argocd-k8s/todos/views.py) (Todo operations)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_guide["Jenkins setup"]
  node_jenkins["Jenkins"]
  node_docker["Docker agent"]
end

subgraph group_pipelines["Pipeline examples"]
  node_basic["First pipeline"]
  node_agents["Multi-agent pipeline"]
  node_shared["Shared library<br/>[helloWorld.groovy]"]
  node_pythonpipe["Python pipeline"]
  node_javapipe["Java pipeline"]
end

subgraph group_python["Django todo app"]
  node_django["Django project<br/>[settings.py]"]
  node_todo_routes["Todo routes<br/>[urls.py]"]
  node_todo_views["Todo operations<br/>[views.py]"]
  node_todo_model["Todo records<br/>[models.py]"]
  node_sqlite[("SQLite store<br/>[db.sqlite3]")]
  node_python_manifests["Python manifests<br/>[deploy.yaml]"]
end

subgraph group_java["Spring Boot app"]
  node_java_app["Spring Boot app"]
  node_java_view["Landing page<br/>[index.html]"]
  node_java_manifests["Java manifests<br/>[deployment.yml]"]
end

node_learner(("Learner"))
node_k8s["Kubernetes"]

node_learner -->|"configures"| node_jenkins
node_jenkins -->|"uses agent"| node_docker
node_jenkins -.->|"runs example"| node_basic
node_jenkins -.->|"runs example"| node_agents
node_jenkins -.->|"runs example"| node_pythonpipe
node_jenkins -.->|"runs example"| node_javapipe
node_jenkins -->|"deploys apps"| node_k8s
node_django -->|"configures routing"| node_todo_routes
node_todo_routes -->|"routes requests"| node_todo_views
node_todo_views -->|"reads and writes"| node_todo_model
node_todo_model -.->|"persists records"| node_sqlite
node_java_app -.->|"renders template"| node_java_view
node_pythonpipe -.->|"deploys"| node_python_manifests
node_javapipe -.->|"deploys"| node_java_manifests
node_python_manifests -.->|"configures workload"| node_k8s
node_java_manifests -.->|"configures workload"| node_k8s

click node_basic "https://github.com/amitgarg85583/jenkins-zero-to-hero/blob/main/my-first-pipeline/Jenkinsfile"
click node_agents "https://github.com/amitgarg85583/jenkins-zero-to-hero/blob/main/multi-stage-multi-agent/Jenkinsfile"
click node_shared "https://github.com/amitgarg85583/jenkins-zero-to-hero/blob/main/vars/helloWorld.groovy"
click node_pythonpipe "https://github.com/amitgarg85583/jenkins-zero-to-hero/blob/main/python-jenkins-argocd-k8s/Jenkinsfile"
click node_javapipe "https://github.com/amitgarg85583/jenkins-zero-to-hero/blob/main/java-maven-sonar-argocd-helm-k8s/spring-boot-app/JenkinsFile"
click node_django "https://github.com/amitgarg85583/jenkins-zero-to-hero/blob/main/python-jenkins-argocd-k8s/todoApp/settings.py"
click node_todo_routes "https://github.com/amitgarg85583/jenkins-zero-to-hero/blob/main/python-jenkins-argocd-k8s/todos/urls.py"
click node_todo_views "https://github.com/amitgarg85583/jenkins-zero-to-hero/blob/main/python-jenkins-argocd-k8s/todos/views.py"
click node_todo_model "https://github.com/amitgarg85583/jenkins-zero-to-hero/blob/main/python-jenkins-argocd-k8s/todos/models.py"
click node_sqlite "https://github.com/amitgarg85583/jenkins-zero-to-hero/blob/main/python-jenkins-argocd-k8s/db.sqlite3"
click node_java_app "https://github.com/amitgarg85583/jenkins-zero-to-hero/blob/main/java-maven-sonar-argocd-helm-k8s/spring-boot-app/src/main/java/com/abhishek/StartApplication.java"
click node_java_view "https://github.com/amitgarg85583/jenkins-zero-to-hero/blob/main/java-maven-sonar-argocd-helm-k8s/spring-boot-app/src/main/resources/templates/index.html"
click node_python_manifests "https://github.com/amitgarg85583/jenkins-zero-to-hero/blob/main/python-jenkins-argocd-k8s/deploy/deploy.yaml"
click node_java_manifests "https://github.com/amitgarg85583/jenkins-zero-to-hero/blob/main/java-maven-sonar-argocd-helm-k8s/spring-boot-app-manifests/deployment.yml"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_jenkins,node_docker toneBlue
class node_basic,node_agents,node_shared,node_pythonpipe,node_javapipe toneAmber
class node_django,node_todo_routes,node_todo_views,node_todo_model,node_sqlite,node_python_manifests toneMint
class node_java_app,node_java_view,node_java_manifests toneRose
class node_learner,node_k8s toneIndigo
```

## Components

### Jenkins setup

- **Jenkins**
- **Docker agent**

### Pipeline examples

- [First pipeline](https://github.com/amitgarg85583/jenkins-zero-to-hero/blob/main/my-first-pipeline/Jenkinsfile): `my-first-pipeline/Jenkinsfile`
- [Multi-agent pipeline](https://github.com/amitgarg85583/jenkins-zero-to-hero/blob/main/multi-stage-multi-agent/Jenkinsfile): `multi-stage-multi-agent/Jenkinsfile`
- [Shared library](https://github.com/amitgarg85583/jenkins-zero-to-hero/blob/main/vars/helloWorld.groovy): `vars/helloWorld.groovy`
- [Python pipeline](https://github.com/amitgarg85583/jenkins-zero-to-hero/blob/main/python-jenkins-argocd-k8s/Jenkinsfile): `python-jenkins-argocd-k8s/Jenkinsfile`
- [Java pipeline](https://github.com/amitgarg85583/jenkins-zero-to-hero/blob/main/java-maven-sonar-argocd-helm-k8s/spring-boot-app/JenkinsFile): `java-maven-sonar-argocd-helm-k8s/spring-boot-app/JenkinsFile`

### Django todo app

- [Django project](https://github.com/amitgarg85583/jenkins-zero-to-hero/blob/main/python-jenkins-argocd-k8s/todoApp/settings.py): `python-jenkins-argocd-k8s/todoApp/settings.py`
- [Todo routes](https://github.com/amitgarg85583/jenkins-zero-to-hero/blob/main/python-jenkins-argocd-k8s/todos/urls.py): `python-jenkins-argocd-k8s/todos/urls.py`
- [Todo operations](https://github.com/amitgarg85583/jenkins-zero-to-hero/blob/main/python-jenkins-argocd-k8s/todos/views.py): `python-jenkins-argocd-k8s/todos/views.py`
- [Todo records](https://github.com/amitgarg85583/jenkins-zero-to-hero/blob/main/python-jenkins-argocd-k8s/todos/models.py): `python-jenkins-argocd-k8s/todos/models.py`
- [SQLite store](https://github.com/amitgarg85583/jenkins-zero-to-hero/blob/main/python-jenkins-argocd-k8s/db.sqlite3): `python-jenkins-argocd-k8s/db.sqlite3`
- [Python manifests](https://github.com/amitgarg85583/jenkins-zero-to-hero/blob/main/python-jenkins-argocd-k8s/deploy/deploy.yaml): `python-jenkins-argocd-k8s/deploy/deploy.yaml`

### Spring Boot app

- [Spring Boot app](https://github.com/amitgarg85583/jenkins-zero-to-hero/blob/main/java-maven-sonar-argocd-helm-k8s/spring-boot-app/src/main/java/com/abhishek/StartApplication.java): `java-maven-sonar-argocd-helm-k8s/spring-boot-app/src/main/java/com/abhishek/StartApplication.java`
- [Landing page](https://github.com/amitgarg85583/jenkins-zero-to-hero/blob/main/java-maven-sonar-argocd-helm-k8s/spring-boot-app/src/main/resources/templates/index.html): `java-maven-sonar-argocd-helm-k8s/spring-boot-app/src/main/resources/templates/index.html`
- [Java manifests](https://github.com/amitgarg85583/jenkins-zero-to-hero/blob/main/java-maven-sonar-argocd-helm-k8s/spring-boot-app-manifests/deployment.yml): `java-maven-sonar-argocd-helm-k8s/spring-boot-app-manifests/deployment.yml`

### Other components

- **Learner**
- **Kubernetes**

## Connections

- Learner → Jenkins: configures (evidence: `README.md`)
- Jenkins → Docker agent: uses agent (evidence: `README.md`)
- Jenkins → First pipeline: runs example
- Jenkins → Multi-agent pipeline: runs example
- Jenkins → Python pipeline: runs example
- Jenkins → Java pipeline: runs example
- Jenkins → Kubernetes: deploys apps (evidence: `README.md`)
- Django project → Todo routes: configures routing
- Todo routes → Todo operations: routes requests (evidence: `python-jenkins-argocd-k8s/todos/urls.py`)
- Todo operations → Todo records: reads and writes (evidence: `python-jenkins-argocd-k8s/todos/views.py`)
- Todo records → SQLite store: persists records
- Spring Boot app → Landing page: renders template
- Python pipeline → Python manifests: deploys
- Java pipeline → Java manifests: deploys
- Python manifests → Kubernetes: configures workload
- Java manifests → Kubernetes: configures workload
