From 77ac501fb2504551a1eee7f0f04411d418e39353 Mon Sep 17 00:00:00 2001 From: coderepo2891 <40494127+coderepo2891@users.noreply.github.com> Date: Sat, 14 Jun 2025 18:30:40 +0530 Subject: [PATCH 01/13] Update index.html --- src/main/resources/templates/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/resources/templates/index.html b/src/main/resources/templates/index.html index 99c132e..16cd225 100644 --- a/src/main/resources/templates/index.html +++ b/src/main/resources/templates/index.html @@ -2,7 +2,7 @@ - Secret Santa + Aqib Bantai From 286566dec499b00809bef76cc8c027fcc83dcb6d Mon Sep 17 00:00:00 2001 From: coderepo2891 <40494127+coderepo2891@users.noreply.github.com> Date: Sat, 14 Jun 2025 18:33:34 +0530 Subject: [PATCH 02/13] Update index.html --- src/main/resources/templates/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/resources/templates/index.html b/src/main/resources/templates/index.html index 16cd225..52380e1 100644 --- a/src/main/resources/templates/index.html +++ b/src/main/resources/templates/index.html @@ -2,7 +2,7 @@ - Aqib Bantai + Aqib edited From bc797df4bdf11ee1d894b2f01410ed374f26c82c Mon Sep 17 00:00:00 2001 From: coderepo2891 <40494127+coderepo2891@users.noreply.github.com> Date: Sat, 14 Jun 2025 18:36:07 +0530 Subject: [PATCH 03/13] Update index.html --- src/main/resources/templates/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/resources/templates/index.html b/src/main/resources/templates/index.html index 52380e1..221b9ed 100644 --- a/src/main/resources/templates/index.html +++ b/src/main/resources/templates/index.html @@ -2,7 +2,7 @@ - Aqib edited + Aqib santa app From 8fe28b201df4153789d26603f67e591f8ba007c1 Mon Sep 17 00:00:00 2001 From: coderepo2891 <40494127+coderepo2891@users.noreply.github.com> Date: Sat, 14 Jun 2025 18:37:12 +0530 Subject: [PATCH 04/13] Update index.html --- src/main/resources/templates/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/resources/templates/index.html b/src/main/resources/templates/index.html index 221b9ed..2cf7c83 100644 --- a/src/main/resources/templates/index.html +++ b/src/main/resources/templates/index.html @@ -2,7 +2,7 @@ - Aqib santa app + Aqib santa banta From 24381d33fef8239a306614b25c5fd814793b7f66 Mon Sep 17 00:00:00 2001 From: coderepo2891 <40494127+coderepo2891@users.noreply.github.com> Date: Sat, 14 Jun 2025 18:38:43 +0530 Subject: [PATCH 05/13] Update index.html --- src/main/resources/templates/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/resources/templates/index.html b/src/main/resources/templates/index.html index 2cf7c83..76b2cc7 100644 --- a/src/main/resources/templates/index.html +++ b/src/main/resources/templates/index.html @@ -2,7 +2,7 @@ - Aqib santa banta + Aqib santa bantas From 80d156021ca82e682a2146dd8886c5b1bf184981 Mon Sep 17 00:00:00 2001 From: coderepo2891 <40494127+coderepo2891@users.noreply.github.com> Date: Sat, 14 Jun 2025 18:41:55 +0530 Subject: [PATCH 06/13] Update Jenkinsfile --- Jenkinsfile | 23 +++++++++++++---------- 1 file changed, 13 insertions(+), 10 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index cbcaddd..aff58f4 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -3,7 +3,7 @@ pipeline { stages { stage('git clone') { steps { - git 'https://github.com/Kumarbgm16/java-azure-project.git' + git 'https://github.com/coderepo2891/java-azure-project-forked.git' } } stage('maven package') { @@ -11,26 +11,29 @@ pipeline { sh 'mvn clean package' } } - stage('create the docker image') { + stage('create the docker image') { steps { - sh 'sudo docker build -t saidevops16/apacheapp:latest .' + sh 'sudo docker build -t aqibdocker2891/web-java-awsb60:v1 .' } } stage('docker push ') { steps { - withCredentials([string(credentialsId: 'DOCKER_HUB', variable: 'DOCKER_HUB_PASS_CODE')]) { + withCredentials([string(credentialsId: 'DOCKER_HUB_pwd', variable: 'DOCKER_HUB_PASS_CODE')]) { // some block - sh "sudo docker login -u saidevops16 -p $DOCKER_HUB_PASS_CODE" + sh "sudo docker login -u aqibdocker2891 -p $DOCKER_HUB_PASS_CODE" } - sh "sudo docker push saidevops16/apacheapp:latest" + sh "sudo docker push aqibdocker2891/web-java-awsb60:v1" } - } - stage('Deploy to docker Env') { + } + stage('Deploy to docker Env') { steps { - sh "sudo docker rm -f app3" - sh "sudo docker run -itd --name app3 -p 9000:8080 saidevops16/apacheapp:latest" + sh "sudo docker rm -f mysecureapp" + sh "sudo docker run -itd --name mysecureapp -p 9000:8080 aqibdocker2891/web-java-awsb60:v1" } } } } + + + From 9fc799ee2493058352f2b6eec4379ebb702916d8 Mon Sep 17 00:00:00 2001 From: coderepo2891 <40494127+coderepo2891@users.noreply.github.com> Date: Sat, 14 Jun 2025 18:43:40 +0530 Subject: [PATCH 07/13] Update index.html --- src/main/resources/templates/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/resources/templates/index.html b/src/main/resources/templates/index.html index 76b2cc7..d898d3b 100644 --- a/src/main/resources/templates/index.html +++ b/src/main/resources/templates/index.html @@ -2,7 +2,7 @@ - Aqib santa bantas + Aqib santa bata app From 0f8388ca35e347fa27adf8836091dc11a49588b0 Mon Sep 17 00:00:00 2001 From: coderepo2891 <40494127+coderepo2891@users.noreply.github.com> Date: Sat, 14 Jun 2025 18:44:05 +0530 Subject: [PATCH 08/13] Update index.html --- src/main/resources/templates/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/resources/templates/index.html b/src/main/resources/templates/index.html index d898d3b..b699eb9 100644 --- a/src/main/resources/templates/index.html +++ b/src/main/resources/templates/index.html @@ -2,7 +2,7 @@ - Aqib santa bata app + Aqib santa bata application From 48a36cb44bfb5b53101fb612ae9938d614ca8fd4 Mon Sep 17 00:00:00 2001 From: coderepo2891 <40494127+coderepo2891@users.noreply.github.com> Date: Sat, 14 Jun 2025 18:44:51 +0530 Subject: [PATCH 09/13] Update index.html --- src/main/resources/templates/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/resources/templates/index.html b/src/main/resources/templates/index.html index b699eb9..f5615a4 100644 --- a/src/main/resources/templates/index.html +++ b/src/main/resources/templates/index.html @@ -2,7 +2,7 @@ - Aqib santa bata application + Aqib santa banta application From d0128a2ff9a455a8a20d0b0b19e52f8d6300f03c Mon Sep 17 00:00:00 2001 From: coderepo2891 <40494127+coderepo2891@users.noreply.github.com> Date: Sat, 14 Jun 2025 18:48:29 +0530 Subject: [PATCH 10/13] Update index.html --- src/main/resources/templates/index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/resources/templates/index.html b/src/main/resources/templates/index.html index f5615a4..2afce45 100644 --- a/src/main/resources/templates/index.html +++ b/src/main/resources/templates/index.html @@ -2,11 +2,11 @@ - Aqib santa banta application + Aqib santa banta hello -

Welcome to AWS Devops and az104 az400 az500 az700 az204 az900 az305 EMEXO

+

Welcome to AWS Devops and az104 az400 az500 az700 az204 az900 az305 eeeee

Click to start! Follow the procedure

Start! From fa558cb0fa9551db8e549f11d10bde256a813e09 Mon Sep 17 00:00:00 2001 From: coderepo2891 <40494127+coderepo2891@users.noreply.github.com> Date: Sat, 14 Jun 2025 18:50:22 +0530 Subject: [PATCH 11/13] Update index.html --- src/main/resources/templates/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/resources/templates/index.html b/src/main/resources/templates/index.html index 2afce45..022f842 100644 --- a/src/main/resources/templates/index.html +++ b/src/main/resources/templates/index.html @@ -2,7 +2,7 @@ - Aqib santa banta hello + Aqib santa banta updatted From 4ced7f86c53568189aa8b628477494e28dfaf4ff Mon Sep 17 00:00:00 2001 From: coderepo2891 <40494127+coderepo2891@users.noreply.github.com> Date: Sat, 14 Jun 2025 18:53:30 +0530 Subject: [PATCH 12/13] Update index.html --- src/main/resources/templates/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/resources/templates/index.html b/src/main/resources/templates/index.html index 022f842..f7b1762 100644 --- a/src/main/resources/templates/index.html +++ b/src/main/resources/templates/index.html @@ -2,7 +2,7 @@ - Aqib santa banta updatted + Aqib santa bant app From 8af38783431192ea57ea812293c25c90a0abece5 Mon Sep 17 00:00:00 2001 From: coderepo2891 <40494127+coderepo2891@users.noreply.github.com> Date: Sat, 14 Jun 2025 18:55:18 +0530 Subject: [PATCH 13/13] Update Jenkinsfile --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index aff58f4..46d51b2 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -18,7 +18,7 @@ pipeline { } stage('docker push ') { steps { - withCredentials([string(credentialsId: 'DOCKER_HUB_pwd', variable: 'DOCKER_HUB_PASS_CODE')]) { + withCredentials([string(credentialsId: 'DOCKER_HUB_PWD', variable: 'DOCKER_HUB_PASS_CODE')]) { // some block sh "sudo docker login -u aqibdocker2891 -p $DOCKER_HUB_PASS_CODE" }