Jenkins CI/CD End-to-End Documentation
Jenkins CI/CD End-to-End Documentation 1. Objective This document explains from start to finish how to build a complete, safe, production-ready CI/CD pipeline using Jenkins for the Helium platform. The pipeline is designed to: Trigger on git push master Build ARM64 Docker images from the latest code Push images to Amazon ECR Deploy automatically to Staging (Mumbai) Pause for manual approval Deploy the same tested image to Production (Mumbai, Singapore, Virginia) Fully control AWS Amplify frontend deployments (no auto-deploy) 2. High-Level CI/CD Flow Git Push (master) ↓ Jenkins pulls latest code (backend + frontend) ↓ Docker Build (ARM64) ↓ Push image → ECR (helium-backend-staging, Mumbai) ↓ Deploy STAGING backend (ECS, Mumbai) ↓ [Optional] Deploy STAGING frontend (Amplify) ↓ ⏸ Manual Approval (button in Jenkins) ↓ Promote image → PROD ECR (Mumbai, Singapore, Virginia) ↓ Deploy PROD backend (ECS, 3 regions) ↓ Deploy PROD frontend (Amplify) 3. Prere...