DevOps Portfolio Project: Jenkins CI/CD Pipeline with Docker Dynamic Agents
Source: Dev.to
A detailed walk-through of a portfolio-ready Jenkins CI/CD project using dynamic Docker build agents.
Check out the full project on GitHub:(https://github.com/Syria-git/jenkins-docker-dynamic-agent) DevOps Portfolio Project: Jenkins CI/CD Pipeline with Docker Dynamic Agents π GitHub Repository:
https://github.com/syria-git/jenkins-docker-dynamic-agent This project demonstrates how to: Build a dynamic Docker agent per Jenkins run Run CI/CD pipelines using ephemeral infrastructure Deploy a simple web application automatically Keep the repository safe for public GitHub (no secrets, no hardcoded proxies) The goal is not application complexity, but CI/CD correctness and DevOps mindset. Jenkins (Declarative Pipeline) Docker (Dynamic Build Agents) HTML / CSS / JavaScript (sample app) The pipeline follows this flow: GitHub β Jenkins β Docker Build Agent β Deploy β Cleanup Builds a custom Docker image Starts a temporary container Deploys application files Cleans up all resources automatically This approach mirrors real enterprise CI/CD environments. (Diagram shows Jenkins creating a Docker-based agent per build, deploying the app, and cleaning up afterward.) π Repository Structure
.
βββ app/ # Web application files
βββ ci/ # Jenkinsfile & Dockerfile
βββ Makefile # Optional local automation
βββ README.md Clear separation between: π Secure Proxy Handling (Enterprise Practice) This project is intentionally designed to be public-repository safe. β No proxy IPs
β No credentials
β No secrets in code β
How itβs handled instead Proxy variables are configured directly in Jenkins: Job β Configure β Environment variables Managed outside the repository Safe for enterprise and portfolio use This is exactly how real production pipelines handle network restrictions. π― Why This Project Matters This project focuses on: Ephemeral infrastructure Security-first design Interview-ready explanations. Templates let you quickly answer FAQs or store snippets for re-use. Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink. Hide child comments as well For further actions, you may consider blocking this person and/or reporting abuse