Skip to content

Create a pipeline to Build, Test, Containerize, and Push a Java SpringBoot Application to DockerHub with Jenkins, Maven, Sonarqube, and Docker.

Notifications You must be signed in to change notification settings

Ohubabs/DB-CI

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DB-CI

DragonBall Project Part 4

Project Objective

For this project, you are to setup a pipeline with Maven, SonarQube, and Docker to Build, Test, Containerize and Push your Java Springboot Web app to DockerHub.

Prerequisites

CI Pipeline

Step 1: Go to New Item” from the Dashboard, select “Pipeline”, name it “Docker_Build”.

Screenshot 2024-06-24 at 6 06 24 PM

Step 2: Go to “Pipeline Syntax”, select from the dropdown menu the option below with the corresponding variables for your DockerHub Account and finally, select the DockerHub credentials you setup in project 1 (DB-Pipeline)

Screenshot 2024-06-24 at 3 29 15 PM

Step 3: Go to “Configuration”, Select “Poll SCM” and Enter the details for your GitHub repo & Jenkinsfile or copy and paste the Jenkinsfile in this repo.

image

image

Step 4: Click “Build now” to run your pipeline with Maven, SonarQube, and Docker to Build, Test, Containerize and Push your Java Springboot Web app to DockerHub.

Screenshot 2024-06-24 at 6 40 52 PM

Screenshot 2024-06-24 at 6 41 05 PM

Screenshot 2024-06-25 at 4 38 57 PM

Screenshot 2024-06-25 at 4 39 04 PM

Screenshot 2024-06-24 at 6 46 55 PM

Screenshot 2024-06-25 at 4 39 13 PM

Screenshot 2024-06-24 at 6 47 17 PM

Screenshot 2024-06-24 at 6 47 51 PM

Screenshot 2024-06-24 at 6 47 55 PM

Screenshot 2024-06-25 at 4 39 27 PM

Screenshot 2024-06-24 at 6 47 33 PM

Screenshot 2024-06-24 at 6 53 28 PM

image

About

Create a pipeline to Build, Test, Containerize, and Push a Java SpringBoot Application to DockerHub with Jenkins, Maven, Sonarqube, and Docker.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 68.0%
  • HTML 28.7%
  • Dockerfile 3.3%