khangtictoc / CICD_Pipeline_on_Openshift

Create Jenkins_pipeline for applying automation for Maven project on Openshift. Integrating with Nexus, Sonarqube, Gitlab

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Jenkins_pipeline-Maven-Nexus-Sonarqube-Docker

Using Jenkins pipeline to deploy Maven Web Application (written in Scripted format). Integrated with Nexus, Sonarqube and Docker

Main Pipeline

Description

TechStack

  • Sonarqube: SAST source code scanning
  • Kaniko: For building images and uploading to Nexus repositories.
  • Helm: Use Helm chart to deploy web application.

Convention

Image:

  • stable: Stable version of well-health app
  • latest: Build with newest code, may not work correctly
  • $hash ($githash + 'DDMMYYYY'): Build with version 'X' pushed by $githash, may not work correctly
  • Each shared library (i.e 'build-lib') is stored as seperated repository

Environment

  • Production: Full pipeline
  • Uat: Full pipeline
  • Dev: First 4 stages

About

Create Jenkins_pipeline for applying automation for Maven project on Openshift. Integrating with Nexus, Sonarqube, Gitlab


Languages

Language:Java 58.4%Language:Groovy 35.6%Language:Smarty 5.3%Language:Dockerfile 0.6%