Support Us: https://buymeacoffee.com/iquantconsult
GitHub Repo: https://github.com/iQuantC/Jenkins_GC...
👨💻 Description:
In this hands-on DevOps tutorial, we’ll walk through building a full-fledged Jenkins CI/CD pipeline to deploy a Java application to Google Cloud Run using industry-standard tools and best practices.
🔧 What You'll Learn in This Video:
✅ How to clone code from GitHub automatically using GitHub Webhooks
✅ Running Jenkins inside Docker and setting up build pipelines
✅ Using Maven to build your Java application
✅ Running static code analysis with SonarQube (in a container)
✅ Building secure Docker images and scanning them with Trivy
✅ Authenticating with Google Cloud and pushing images to GCP Artifact Registry
✅ Deploying seamlessly to Cloud Run
✅ Exposing your app to the world using Ngrok
✅ Automating everything with GitHub and Jenkins Webhooks
👉 Tools:
GitHub • Jenkins (Docker) • Maven • SonarQube (Docker) • Docker • Trivy • GCP Artifact Registry • Cloud Run • Ngrok • Webhooks
🎯 This tutorial is perfect for:
• DevOps Engineers
• Cloud Developers
• Anyone looking to implement modern CI/CD with Jenkins & Google Cloud
📦 Technologies Used:
1. Jenkins (Dockerized)
2. Maven
3. SonarQube (Containerized)
4. Docker
5. Trivy (Security Scanning)
6. Google Artifact Registry
7. Google Cloud Run
8. GitHub Webhooks + Jenkins Webhooks
9. Ngrok (for local testing)
👍 If you found this helpful, don’t forget to LIKE, SUBSCRIBE, and click the bell icon 🔔 to stay updated on more DevOps content!
📌 Chapters:
00:00 - Intro
01:30 - Project Architecture & Overview
05:18 - Setting up Jenkins in Docker & GitHub Integration
14:38 - Setting up Java & Maven in Jenkins
22:00 - SonarQube Container Setup
45:49 - Setting up & Scanning File System with Trivy
48:41 - Docker Image Build
54:13 - Scanning Docker Image with Trivy
56:07 - GCP Auth & Artifact Registry Push
01:13:00 - Cloud Run Deployment with Jenkinsfile
01:19:18 - Expose Cloud Run Service URL Automatically on Jenkins Logs
01:21:41 - Streamline Jenkins pipeline with GitHub webhook
01:23:01 - Expose Local Jenkins to the Cloud with Ngrok
01:28:50 - Final Recap & Clean Up
#Jenkins #CICD #DevOps #CloudRun #Java #GCP #Trivy #SonarQube #Docker #Maven #Ngrok #ArtifactRegistry #JenkinsPipeline #GitHub #Webhooks
Disclaimer: This video is for educational purposes only. The tools and technologies demonstrated are subject to change, and viewers are encouraged to refer to the official documentation for the most up-to-date information.
Follow Us:
GitHub: https://github.com/iQuantC
Instagram: / iquantconsult
Happy DevOpsing! 🎉