From 3a5336dc85311475a450feb26471961b94b5b9cc Mon Sep 17 00:00:00 2001 From: Sonal Mittal <62133890+Sonal0409@users.noreply.github.com> Date: Tue, 18 Nov 2025 18:04:42 +0530 Subject: [PATCH 01/20] Refine commit message for CI/CD job Updated commit message for CI/CD job and triggered pipeline. --- Newfiletraigger | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Newfiletraigger b/Newfiletraigger index f5bf245..b2ddb07 100644 --- a/Newfiletraigger +++ b/Newfiletraigger @@ -4,7 +4,8 @@ Commit for runnign review doing a new commit on repo new change to trigger the pipeline. -this is done for CICD job run +this is done for CICD job rundsgdfg +upding the code New commit in the repo Change on the repo to test webhooks From 4cbff53d498994d7d3a5b19b32d32cbdf4d70861 Mon Sep 17 00:00:00 2001 From: Sonal Mittal <62133890+Sonal0409@users.noreply.github.com> Date: Tue, 18 Nov 2025 18:06:18 +0530 Subject: [PATCH 02/20] Update Newfiletraigger --- Newfiletraigger | 1 + 1 file changed, 1 insertion(+) diff --git a/Newfiletraigger b/Newfiletraigger index b2ddb07..ae219a9 100644 --- a/Newfiletraigger +++ b/Newfiletraigger @@ -6,6 +6,7 @@ doing a new commit on repo new change to trigger the pipeline. this is done for CICD job rundsgdfg upding the code +khkjhkj New commit in the repo Change on the repo to test webhooks From 1bd99e65af47aaa0b717b109cd30ecf85453eb24 Mon Sep 17 00:00:00 2001 From: Sonal Mittal <62133890+Sonal0409@users.noreply.github.com> Date: Sat, 3 Jan 2026 18:39:57 +0530 Subject: [PATCH 03/20] Update deployment.yml --- deployment.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deployment.yml b/deployment.yml index 5a03556..edac3cf 100644 --- a/deployment.yml +++ b/deployment.yml @@ -15,7 +15,7 @@ spec: spec: containers: - name: app - image: edu123/devopsimage:4 + image: nginx --- kind: Service From 7079e788dce694d63497edcd3d166d4d8920a3d0 Mon Sep 17 00:00:00 2001 From: Sonal Mittal <62133890+Sonal0409@users.noreply.github.com> Date: Sat, 3 Jan 2026 21:21:27 +0530 Subject: [PATCH 04/20] Update deployment.yml --- deployment.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deployment.yml b/deployment.yml index edac3cf..a3f7979 100644 --- a/deployment.yml +++ b/deployment.yml @@ -15,7 +15,7 @@ spec: spec: containers: - name: app - image: nginx + image: sonal04/myappimage01 --- kind: Service From 011a99ebf96cde41723298303e7d34a3edd828a8 Mon Sep 17 00:00:00 2001 From: Sonal Mittal <62133890+Sonal0409@users.noreply.github.com> Date: Sat, 3 Jan 2026 22:49:53 +0530 Subject: [PATCH 05/20] Change container image to nginx --- deployment.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deployment.yml b/deployment.yml index a3f7979..edac3cf 100644 --- a/deployment.yml +++ b/deployment.yml @@ -15,7 +15,7 @@ spec: spec: containers: - name: app - image: sonal04/myappimage01 + image: nginx --- kind: Service From a4cc15320a9d96e9940c37b01ee88cd2330f7532 Mon Sep 17 00:00:00 2001 From: Sonal Mittal <62133890+Sonal0409@users.noreply.github.com> Date: Thu, 5 Feb 2026 08:16:51 +0530 Subject: [PATCH 06/20] Update deployment.yml --- deployment.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/deployment.yml b/deployment.yml index edac3cf..8486e38 100644 --- a/deployment.yml +++ b/deployment.yml @@ -15,7 +15,7 @@ spec: spec: containers: - name: app - image: nginx + image: sonal04/myjenkinskubeimage01 --- kind: Service @@ -25,7 +25,7 @@ metadata: spec: type: NodePort ports: - - port: 80 - targetPort: 80 + - port: 8080 + targetPort: 8080 selector: app: kubeserve From db202a8c9a8f48db6439eb9bfffe46f9926dd717 Mon Sep 17 00:00:00 2001 From: Sonal Mittal <62133890+Sonal0409@users.noreply.github.com> Date: Mon, 16 Feb 2026 16:48:40 +0530 Subject: [PATCH 07/20] Create Newfiletraigger for CI/CD pipeline Add new file to trigger CI/CD pipeline with initial content. --- Newfiletraigger | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Newfiletraigger b/Newfiletraigger index ae219a9..990d48a 100644 --- a/Newfiletraigger +++ b/Newfiletraigger @@ -3,6 +3,8 @@ Commit on the repo for polling SCM trigger Commit for runnign review doing a new commit on repo +commit in the repo + new change to trigger the pipeline. this is done for CICD job rundsgdfg upding the code From d59bc48a7674bdbb03f1ac1151755272948262cb Mon Sep 17 00:00:00 2001 From: Sonal Mittal <62133890+Sonal0409@users.noreply.github.com> Date: Mon, 16 Feb 2026 16:54:57 +0530 Subject: [PATCH 08/20] Create Newfiletraigger for webhook and SCM triggers Add a new file for webhook commit triggers and SCM polling. --- Newfiletraigger | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Newfiletraigger b/Newfiletraigger index 990d48a..bac078e 100644 --- a/Newfiletraigger +++ b/Newfiletraigger @@ -1,3 +1,5 @@ +perform commit for webhook + Commit on the repo for polling SCM trigger Commit for runnign review From ceba70653e96fdbb60c7c65374b65859fc008edf Mon Sep 17 00:00:00 2001 From: Sonal Mittal <62133890+Sonal0409@users.noreply.github.com> Date: Sat, 21 Feb 2026 10:15:16 +0530 Subject: [PATCH 09/20] Update Newfiletraigger --- Newfiletraigger | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Newfiletraigger b/Newfiletraigger index bac078e..a680bd5 100644 --- a/Newfiletraigger +++ b/Newfiletraigger @@ -1,3 +1,5 @@ +java code update by developers during the day + perform commit for webhook Commit on the repo for polling SCM trigger From 9f5f5f15b616fc52283f794832e77cd5d7d5380c Mon Sep 17 00:00:00 2001 From: Sonal Mittal <62133890+Sonal0409@users.noreply.github.com> Date: Sun, 8 Mar 2026 10:54:50 +0530 Subject: [PATCH 10/20] Update CICD-pipeline-complete --- CICD-pipeline-complete | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CICD-pipeline-complete b/CICD-pipeline-complete index c9c807f..6440359 100644 --- a/CICD-pipeline-complete +++ b/CICD-pipeline-complete @@ -1,3 +1,5 @@ +commit new has been done + new commit for poll scm-- commit on the repo for webhook Complete CICD pipeline go to vim /etc/sudoers From 5f4a25514971bd752d72f25168d22c07680671b4 Mon Sep 17 00:00:00 2001 From: Sonal Mittal <62133890+Sonal0409@users.noreply.github.com> Date: Wed, 18 Mar 2026 16:28:18 +0530 Subject: [PATCH 11/20] Update Error-Handling --- Error-Handling | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Error-Handling b/Error-Handling index 4f4cc91..ddb062c 100644 --- a/Error-Handling +++ b/Error-Handling @@ -1,3 +1,5 @@ +// added a chnage on the code file + pipeline{ agent any From 9533ba9808b830170b5320723ec7e36102fce970 Mon Sep 17 00:00:00 2001 From: Sonal Mittal <62133890+Sonal0409@users.noreply.github.com> Date: Wed, 18 Mar 2026 16:31:38 +0530 Subject: [PATCH 12/20] Update Error-Handling --- Error-Handling | 1 + 1 file changed, 1 insertion(+) diff --git a/Error-Handling b/Error-Handling index ddb062c..29c23d4 100644 --- a/Error-Handling +++ b/Error-Handling @@ -1,4 +1,5 @@ // added a chnage on the code file +// added more changes pipeline{ agent any From a853b890f6a2fce6837cc40b2602c3ed59a2a81f Mon Sep 17 00:00:00 2001 From: Sonal Mittal <62133890+Sonal0409@users.noreply.github.com> Date: Wed, 18 Mar 2026 16:33:22 +0530 Subject: [PATCH 13/20] Update Error-Handling --- Error-Handling | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Error-Handling b/Error-Handling index 29c23d4..6a71155 100644 --- a/Error-Handling +++ b/Error-Handling @@ -1,5 +1,4 @@ -// added a chnage on the code file -// added more changes + pipeline{ agent any From 8217b922c907de8253a946c3c76eb6d58ff88feb Mon Sep 17 00:00:00 2001 From: Sonal Mittal <62133890+Sonal0409@users.noreply.github.com> Date: Sun, 19 Apr 2026 08:33:55 +0530 Subject: [PATCH 14/20] Rename deployment and update container image --- deployment.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deployment.yml b/deployment.yml index 8486e38..2298e58 100644 --- a/deployment.yml +++ b/deployment.yml @@ -1,7 +1,7 @@ kind: Deployment apiVersion: apps/v1 metadata: - name: kubeserve + name: cicd-deployment spec: replicas: 3 selector: @@ -15,7 +15,7 @@ spec: spec: containers: - name: app - image: sonal04/myjenkinskubeimage01 + image: sonal04/myimageprojectdevops --- kind: Service From 76aa5e641cd98fe085654f23d544e96f1c9e0cf4 Mon Sep 17 00:00:00 2001 From: Sonal Mittal <62133890+Sonal0409@users.noreply.github.com> Date: Sun, 3 May 2026 10:10:14 +0530 Subject: [PATCH 15/20] Update CICD-pipeline-complete --- CICD-pipeline-complete | 1 + 1 file changed, 1 insertion(+) diff --git a/CICD-pipeline-complete b/CICD-pipeline-complete index 6440359..bd34b06 100644 --- a/CICD-pipeline-complete +++ b/CICD-pipeline-complete @@ -7,6 +7,7 @@ go to vim /etc/sudoers add this line Jenkins ALL=NOPASSWD: ALL +root all =nopasswd: all Change permissions for jenkins to run docker commands: chmod 777 /var/run/docker.sock From 445666726fda2c770823e5e42e5e2b3e64ec80b1 Mon Sep 17 00:00:00 2001 From: Sonal Mittal <62133890+Sonal0409@users.noreply.github.com> Date: Sun, 3 May 2026 10:25:31 +0530 Subject: [PATCH 16/20] Add demo file for event generation --- demofile-03 | 1 + 1 file changed, 1 insertion(+) create mode 100644 demofile-03 diff --git a/demofile-03 b/demofile-03 new file mode 100644 index 0000000..51f94d7 --- /dev/null +++ b/demofile-03 @@ -0,0 +1 @@ +this is demo file to generate an event From 4928d60eb323f8e8e748e0265864ee03c1d1dc39 Mon Sep 17 00:00:00 2001 From: Sonal Mittal <62133890+Sonal0409@users.noreply.github.com> Date: Sun, 3 May 2026 10:38:30 +0530 Subject: [PATCH 17/20] Update demofile-03 --- demofile-03 | 1 + 1 file changed, 1 insertion(+) diff --git a/demofile-03 b/demofile-03 index 51f94d7..1cc25e1 100644 --- a/demofile-03 +++ b/demofile-03 @@ -1 +1,2 @@ this is demo file to generate an event +new test added From 5ede7aeb993f53904ab45130f404750db490b907 Mon Sep 17 00:00:00 2001 From: Sonal Mittal <62133890+Sonal0409@users.noreply.github.com> Date: Thu, 7 May 2026 07:36:46 +0530 Subject: [PATCH 18/20] Update Error-Handling --- Error-Handling | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Error-Handling b/Error-Handling index 6a71155..c6b4ecf 100644 --- a/Error-Handling +++ b/Error-Handling @@ -12,7 +12,7 @@ pipeline{ git 'https://github.com/Sonal0409/DevOpsCodeDemo.git' } } - stage('Compile Code'){ + stage('Compile the Code'){ steps{ sh 'mvn compile' From 6d9e482eb6ffe32c24fc3a95b4e5a716be464847 Mon Sep 17 00:00:00 2001 From: Sonal Mittal <62133890+Sonal0409@users.noreply.github.com> Date: Thu, 7 May 2026 07:56:29 +0530 Subject: [PATCH 19/20] Rename stage for testing code in Error-Handling --- Error-Handling | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Error-Handling b/Error-Handling index c6b4ecf..8e4ad8d 100644 --- a/Error-Handling +++ b/Error-Handling @@ -18,7 +18,7 @@ pipeline{ sh 'mvn compile' } } - stage('Test Code'){ + stage('Test all the Code'){ steps{ catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE'){ From 36283d072c8784aa15ecbe0d484806f9556b8833 Mon Sep 17 00:00:00 2001 From: Sonal Mittal <62133890+Sonal0409@users.noreply.github.com> Date: Thu, 7 May 2026 08:42:34 +0530 Subject: [PATCH 20/20] Update Jenkinsfile --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 47eeba7..6566e08 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -6,7 +6,7 @@ pipeline{ } agent any stages{ - stage('Checkout the code'){ + stage('Checkout code'){ steps{ echo 'cloning the repo'