# cnrnaveen/jenkins-zero-to-hero architecture

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

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

## Overview

This repository is a Jenkins learning collection: it documents Jenkins installation and Docker-agent setup, and includes pipeline examples plus applications and Kubernetes/Argo CD deployment assets. A representative user-to-result path is a browser request routed through the Django todo app to create, update, delete, or list persisted todos. The Java example provides a separate Spring Boot page deployed with Kubernetes/Argo CD assets. The root README describes Jenkins and deployment capabilities broadly; pipeline internals and most deployment wiring were not sampled, so those connections are not asserted.

Main entry points: [`python-jenkins-argocd-k8s/todoApp/urls.py`](https://github.com/cnrnaveen/jenkins-zero-to-hero/blob/main/python-jenkins-argocd-k8s/todoApp/urls.py) (Django URL routing), [`python-jenkins-argocd-k8s/todos/views.py`](https://github.com/cnrnaveen/jenkins-zero-to-hero/blob/main/python-jenkins-argocd-k8s/todos/views.py) (Todo operations), [`python-jenkins-argocd-k8s/Jenkinsfile`](https://github.com/cnrnaveen/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/cnrnaveen/jenkins-zero-to-hero/blob/main/java-maven-sonar-argocd-helm-k8s/spring-boot-app/JenkinsFile) (Java pipeline)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_learn["Jenkins learning"]
  node_jenkins["Jenkins server"]
  node_dockeragent["Docker agent"]
end

subgraph group_examples["Pipeline examples"]
  node_pipelineintro["Starter pipeline"]
  node_pipelineagents["Multi-agent pipeline"]
  node_pythonpipeline["Python pipeline"]
  node_javapipeline["Java pipeline"]
  node_deployment["Kubernetes manifests"]
end

subgraph group_todo["Django todo app"]
  node_todoentry["Django URL routing<br/>[urls.py]"]
  node_rootview["Root redirect<br/>[views.py]"]
  node_todourls["Todo URL routing<br/>[urls.py]"]
  node_todoviews["Todo operations<br/>[views.py]"]
  node_todomodel["Todo records<br/>[models.py]"]
  node_todosqlite[("SQLite database<br/>[db.sqlite3]")]
  node_todosettings["Django configuration<br/>[settings.py]"]
  node_todohtml["Todo pages"]
end

subgraph group_java["Java deployment"]
  node_argocd["Argo CD configuration<br/>[argocd-basic.yaml]"]
  node_javaapp["Spring Boot page"]
  node_javamanifests["App manifests"]
end

node_learner(("Learner"))
node_browser(("Browser user"))
node_kubernetes["Kubernetes cluster"]

node_learner -->|"sets up"| node_jenkins
node_jenkins -->|"configures"| node_dockeragent
node_jenkins -.->|"runs"| node_pipelineintro
node_jenkins -.->|"runs"| node_pipelineagents
node_jenkins -.->|"runs"| node_pythonpipeline
node_jenkins -.->|"runs"| node_javapipeline
node_browser -.->|"requests"| node_todoentry
node_todoentry -->|"routes"| node_rootview
node_todoentry -->|"includes routes"| node_todourls
node_todourls -->|"dispatches"| node_todoviews
node_todoviews -->|"queries"| node_todomodel
node_todosettings -->|"configures store"| node_todosqlite
node_todoviews -.->|"renders"| node_todohtml
node_pythonpipeline -.->|"deploys"| node_deployment
node_javapipeline -.->|"deploys via"| node_argocd
node_argocd -.->|"applies"| node_javamanifests
node_javamanifests -.->|"targets"| node_kubernetes
node_javaapp -.->|"serves page"| node_browser

click node_pipelineintro "https://github.com/cnrnaveen/jenkins-zero-to-hero/blob/main/my-first-pipeline/Jenkinsfile"
click node_pipelineagents "https://github.com/cnrnaveen/jenkins-zero-to-hero/blob/main/multi-stage-multi-agent/Jenkinsfile"
click node_pythonpipeline "https://github.com/cnrnaveen/jenkins-zero-to-hero/blob/main/python-jenkins-argocd-k8s/Jenkinsfile"
click node_javapipeline "https://github.com/cnrnaveen/jenkins-zero-to-hero/blob/main/java-maven-sonar-argocd-helm-k8s/spring-boot-app/JenkinsFile"
click node_todoentry "https://github.com/cnrnaveen/jenkins-zero-to-hero/blob/main/python-jenkins-argocd-k8s/todoApp/urls.py"
click node_rootview "https://github.com/cnrnaveen/jenkins-zero-to-hero/blob/main/python-jenkins-argocd-k8s/todoApp/views.py"
click node_todourls "https://github.com/cnrnaveen/jenkins-zero-to-hero/blob/main/python-jenkins-argocd-k8s/todos/urls.py"
click node_todoviews "https://github.com/cnrnaveen/jenkins-zero-to-hero/blob/main/python-jenkins-argocd-k8s/todos/views.py"
click node_todomodel "https://github.com/cnrnaveen/jenkins-zero-to-hero/blob/main/python-jenkins-argocd-k8s/todos/models.py"
click node_todosqlite "https://github.com/cnrnaveen/jenkins-zero-to-hero/blob/main/python-jenkins-argocd-k8s/db.sqlite3"
click node_todosettings "https://github.com/cnrnaveen/jenkins-zero-to-hero/blob/main/python-jenkins-argocd-k8s/todoApp/settings.py"
click node_todohtml "https://github.com/cnrnaveen/jenkins-zero-to-hero/tree/main/python-jenkins-argocd-k8s/todos/templates/todos"
click node_deployment "https://github.com/cnrnaveen/jenkins-zero-to-hero/tree/main/python-jenkins-argocd-k8s/deploy"
click node_argocd "https://github.com/cnrnaveen/jenkins-zero-to-hero/blob/main/java-maven-sonar-argocd-helm-k8s/Argo%20CD/argocd-basic.yaml"
click node_javaapp "https://github.com/cnrnaveen/jenkins-zero-to-hero/blob/main/java-maven-sonar-argocd-helm-k8s/spring-boot-app/src/main/java/com/abhishek/StartApplication.java"
click node_javamanifests "https://github.com/cnrnaveen/jenkins-zero-to-hero/tree/main/java-maven-sonar-argocd-helm-k8s/spring-boot-app-manifests"

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_dockeragent,node_browser toneBlue
class node_pipelineintro,node_pipelineagents,node_pythonpipeline,node_javapipeline,node_deployment toneAmber
class node_todoentry,node_rootview,node_todourls,node_todoviews,node_todomodel,node_todosqlite,node_todosettings,node_todohtml toneMint
class node_argocd,node_javaapp,node_javamanifests toneRose
class node_learner,node_kubernetes toneIndigo
```

## Components

### Jenkins learning

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

### Pipeline examples

- [Starter pipeline](https://github.com/cnrnaveen/jenkins-zero-to-hero/blob/main/my-first-pipeline/Jenkinsfile): `my-first-pipeline/Jenkinsfile`
- [Multi-agent pipeline](https://github.com/cnrnaveen/jenkins-zero-to-hero/blob/main/multi-stage-multi-agent/Jenkinsfile): `multi-stage-multi-agent/Jenkinsfile`
- [Python pipeline](https://github.com/cnrnaveen/jenkins-zero-to-hero/blob/main/python-jenkins-argocd-k8s/Jenkinsfile): `python-jenkins-argocd-k8s/Jenkinsfile`
- [Java pipeline](https://github.com/cnrnaveen/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`
- [Kubernetes manifests](https://github.com/cnrnaveen/jenkins-zero-to-hero/tree/main/python-jenkins-argocd-k8s/deploy): `python-jenkins-argocd-k8s/deploy`

### Django todo app

- [Django URL routing](https://github.com/cnrnaveen/jenkins-zero-to-hero/blob/main/python-jenkins-argocd-k8s/todoApp/urls.py): `python-jenkins-argocd-k8s/todoApp/urls.py`
- [Root redirect](https://github.com/cnrnaveen/jenkins-zero-to-hero/blob/main/python-jenkins-argocd-k8s/todoApp/views.py): `python-jenkins-argocd-k8s/todoApp/views.py`
- [Todo URL routing](https://github.com/cnrnaveen/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/cnrnaveen/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/cnrnaveen/jenkins-zero-to-hero/blob/main/python-jenkins-argocd-k8s/todos/models.py): `python-jenkins-argocd-k8s/todos/models.py`
- [SQLite database](https://github.com/cnrnaveen/jenkins-zero-to-hero/blob/main/python-jenkins-argocd-k8s/db.sqlite3): `python-jenkins-argocd-k8s/db.sqlite3`
- [Django configuration](https://github.com/cnrnaveen/jenkins-zero-to-hero/blob/main/python-jenkins-argocd-k8s/todoApp/settings.py): `python-jenkins-argocd-k8s/todoApp/settings.py`
- [Todo pages](https://github.com/cnrnaveen/jenkins-zero-to-hero/tree/main/python-jenkins-argocd-k8s/todos/templates/todos): `python-jenkins-argocd-k8s/todos/templates/todos`

### Java deployment

- [Argo CD configuration](https://github.com/cnrnaveen/jenkins-zero-to-hero/blob/main/java-maven-sonar-argocd-helm-k8s/Argo%20CD/argocd-basic.yaml): `java-maven-sonar-argocd-helm-k8s/Argo CD/argocd-basic.yaml`
- [Spring Boot page](https://github.com/cnrnaveen/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`
- [App manifests](https://github.com/cnrnaveen/jenkins-zero-to-hero/tree/main/java-maven-sonar-argocd-helm-k8s/spring-boot-app-manifests): `java-maven-sonar-argocd-helm-k8s/spring-boot-app-manifests`

### Other components

- **Learner**
- **Browser user**
- **Kubernetes cluster**

## Connections

- Learner → Jenkins server: sets up (evidence: `README.md`)
- Jenkins server → Docker agent: configures (evidence: `README.md`)
- Jenkins server → Starter pipeline: runs
- Jenkins server → Multi-agent pipeline: runs
- Jenkins server → Python pipeline: runs
- Jenkins server → Java pipeline: runs
- Browser user → Django URL routing: requests
- Django URL routing → Root redirect: routes (evidence: `python-jenkins-argocd-k8s/todoApp/urls.py`)
- Django URL routing → Todo URL routing: includes routes (evidence: `python-jenkins-argocd-k8s/todoApp/urls.py`)
- Todo URL routing → Todo operations: dispatches (evidence: `python-jenkins-argocd-k8s/todos/urls.py`)
- Todo operations → Todo records: queries (evidence: `python-jenkins-argocd-k8s/todos/views.py`)
- Django configuration → SQLite database: configures store (evidence: `python-jenkins-argocd-k8s/todoApp/settings.py`)
- Todo operations → Todo pages: renders
- Python pipeline → Kubernetes manifests: deploys
- Java pipeline → Argo CD configuration: deploys via
- Argo CD configuration → App manifests: applies
- App manifests → Kubernetes cluster: targets
- Spring Boot page → Browser user: serves page
