From 098ce1a8ef02a31c57d82ca2be04fdeb87cb7b29 Mon Sep 17 00:00:00 2001 From: Mayur Gharat <70254449+NewMayur@users.noreply.github.com> Date: Thu, 11 Dec 2025 12:32:16 +0530 Subject: [PATCH 1/3] Change base image from OpenJDK to Amazon Corretto --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 3f47f821..af75753c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM openjdk:8-jdk-alpine +FROM amazoncorretto:8-alpine WORKDIR /app COPY ./target/*.jar /app.jar CMD ["java", "-jar", "/app.jar"] From 8d66dc7141005e04281d88a0cc14af2083c9748f Mon Sep 17 00:00:00 2001 From: Mayur Gharat <70254449+NewMayur@users.noreply.github.com> Date: Thu, 11 Dec 2025 14:07:14 +0530 Subject: [PATCH 2/3] Update Git checkout branch and repository URL --- Jenkinsfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 3392428c..1cc0de2c 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -19,8 +19,8 @@ pipeline{ when { expression { params.action == 'create' } } steps{ gitCheckout( - branch: "main", - url: "https://github.com/praveen1994dec/Java_app_3.0.git" + branch: "patch-1", + url: "https://github.com/NewMayur/Java_app_3.0.git" ) } } From 4e2ef6d795888fd423598cc35097ca5b8a7b744c Mon Sep 17 00:00:00 2001 From: Mayur Gharat <70254449+NewMayur@users.noreply.github.com> Date: Thu, 11 Dec 2025 14:20:50 +0530 Subject: [PATCH 3/3] Update DockerHubUser default value in Jenkinsfile --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 1cc0de2c..ca6422f7 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -10,7 +10,7 @@ pipeline{ choice(name: 'action', choices: 'create\ndelete', description: 'Choose create/Destroy') string(name: 'ImageName', description: "name of the docker build", defaultValue: 'javapp') string(name: 'ImageTag', description: "tag of the docker build", defaultValue: 'v1') - string(name: 'DockerHubUser', description: "name of the Application", defaultValue: 'praveensingam1994') + string(name: 'DockerHubUser', description: "name of the Application", defaultValue: 'neworange28') } stages{