20 June 2026
Project: SonarQube + Trivy DevSecOps Lab
A hands-on DevSecOps lab with Jenkins, SonarQube, Docker, Trivy, quality gates, and remediation notes.
projectjenkinssonarqubetrivyci-cd
This is a practical lab because it is easy to demonstrate: build an app, run quality checks, scan the image, fail on important findings, then document the fix.
What the repo will include
docker-compose.ymlfor Jenkins and SonarQube.- A small Java or Node application.
- A
Jenkinsfilewith build, unit test, SonarQube, Docker build, and Trivy stages. - Screenshots of a passing pipeline and a failing security gate.
- A before-and-after remediation section in the README.
Pipeline shape
checkout
-> install dependencies
-> unit tests
-> SonarQube analysis
-> quality gate
-> Docker build
-> Trivy image scan
-> publish reports
Why this matters
Many teams can install tools. Fewer teams can explain what the tool found, decide whether it should block a release, and help developers fix it.
This lab will show that practical layer: clear gates, useful output, and remediation notes.