From c8159e8d7dbdd5ea488a4ea0d4a501b323fd3c79 Mon Sep 17 00:00:00 2001
From: sivaram <101559568+sivaramani12@users.noreply.github.com>
Date: Tue, 21 Apr 2026 17:09:38 +0530
Subject: [PATCH 01/12] Update index.jsp
---
src/main/webapp/index.jsp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/main/webapp/index.jsp b/src/main/webapp/index.jsp
index 6356818..b56750b 100644
--- a/src/main/webapp/index.jsp
+++ b/src/main/webapp/index.jsp
@@ -2,7 +2,7 @@
-WELCOME TO JENKINS PIPELINE WORLD
+Hi welcome to siva's repo
From 44d3ab00195d5537c38811b705c7123255c235b4 Mon Sep 17 00:00:00 2001
From: sivaram <101559568+sivaramani12@users.noreply.github.com>
Date: Tue, 21 Apr 2026 17:19:51 +0530
Subject: [PATCH 02/12] Update Jenkinsfile
---
Jenkinsfile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Jenkinsfile b/Jenkinsfile
index 964fe40..184322d 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -20,7 +20,7 @@ pipeline {
stage('Deploy') {
steps {
echo 'Deploying to tomcat'
- deploy adapters: [tomcat9(alternativeDeploymentContext: '', credentialsId: 'tomcat', path: '', url: 'http://54.160.144.88:8081/')], contextPath: 'insta', war: '**/*.war'
+ deploy adapters: [tomcat9(alternativeDeploymentContext: '', credentialsId: 'tomcat', path: '', url: 'http://54.157.34.181:8080/')], contextPath: 'insta', war: '**/*.war'
}
}
From 605c8eb1c02a93bbc6dfdd8b30822159f2de582d Mon Sep 17 00:00:00 2001
From: sivaram <101559568+sivaramani12@users.noreply.github.com>
Date: Tue, 21 Apr 2026 17:22:13 +0530
Subject: [PATCH 03/12] Update Jenkinsfile
---
Jenkinsfile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Jenkinsfile b/Jenkinsfile
index 184322d..1334694 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -6,7 +6,7 @@ pipeline {
stage('checkout') {
steps {
echo 'git checkout stage'
- git branch: 'main', url: 'https://github.com/devopstraininghub/mindcircuit17d.git'
+ git branch: 'main', url: 'https://github.com/sivaramani12/mindcircuit-forked.git'
}
}
From 3ab34963324a88ef37ec93579e2096365ef4c344 Mon Sep 17 00:00:00 2001
From: sivaram <101559568+sivaramani12@users.noreply.github.com>
Date: Wed, 22 Apr 2026 11:57:12 +0530
Subject: [PATCH 04/12] Update index.jsp
---
src/main/webapp/index.jsp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/main/webapp/index.jsp b/src/main/webapp/index.jsp
index b56750b..4b549f7 100644
--- a/src/main/webapp/index.jsp
+++ b/src/main/webapp/index.jsp
@@ -2,7 +2,7 @@
-Hi welcome to siva's repo
+Hi welcome to siva's repo. Today's date is 22/04/26
From 9996a7207eb8d1f49f6278583b8d733cdcb7d2a8 Mon Sep 17 00:00:00 2001
From: sivaram <101559568+sivaramani12@users.noreply.github.com>
Date: Wed, 22 Apr 2026 11:58:12 +0530
Subject: [PATCH 05/12] Update Jenkinsfile
---
Jenkinsfile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Jenkinsfile b/Jenkinsfile
index 1334694..a0e8bc7 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -20,7 +20,7 @@ pipeline {
stage('Deploy') {
steps {
echo 'Deploying to tomcat'
- deploy adapters: [tomcat9(alternativeDeploymentContext: '', credentialsId: 'tomcat', path: '', url: 'http://54.157.34.181:8080/')], contextPath: 'insta', war: '**/*.war'
+ deploy adapters: [tomcat9(alternativeDeploymentContext: '', credentialsId: 'tomcat', path: '', url: 'http://54.196.69.161:8080/')], contextPath: 'insta', war: '**/*.war'
}
}
From 478c6d772b3227bdf92dc9ff5128e123f4e2e3f7 Mon Sep 17 00:00:00 2001
From: sivaram <101559568+sivaramani12@users.noreply.github.com>
Date: Wed, 22 Apr 2026 12:01:52 +0530
Subject: [PATCH 06/12] Update index.jsp
---
src/main/webapp/index.jsp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/main/webapp/index.jsp b/src/main/webapp/index.jsp
index 4b549f7..42ec0e0 100644
--- a/src/main/webapp/index.jsp
+++ b/src/main/webapp/index.jsp
@@ -2,7 +2,7 @@
-Hi welcome to siva's repo. Today's date is 22/04/26
+Hi welcome to siva's repoooooooooo. Today's date is 22/04/26
From 86f020269a9480cbc3216eb2e087544b56058b57 Mon Sep 17 00:00:00 2001
From: Siva Ram
Date: Wed, 29 Apr 2026 11:10:10 +0530
Subject: [PATCH 07/12] Adding a new sample file for testing webhooks
---
Sample.txt | 1 +
1 file changed, 1 insertion(+)
create mode 100644 Sample.txt
diff --git a/Sample.txt b/Sample.txt
new file mode 100644
index 0000000..b4f8b36
--- /dev/null
+++ b/Sample.txt
@@ -0,0 +1 @@
+This is a sample file
\ No newline at end of file
From 0533dd3eee971ed3468abdb25c8a0de4dcb1d524 Mon Sep 17 00:00:00 2001
From: Siva Ram
Date: Wed, 29 Apr 2026 11:13:25 +0530
Subject: [PATCH 08/12] Adding new Sample2.txt
---
Sample2.txt | 1 +
1 file changed, 1 insertion(+)
create mode 100644 Sample2.txt
diff --git a/Sample2.txt b/Sample2.txt
new file mode 100644
index 0000000..d2a6cd2
--- /dev/null
+++ b/Sample2.txt
@@ -0,0 +1 @@
+siva
\ No newline at end of file
From e02cb16cdd2f5bfe21a3a188b144622883887a5d Mon Sep 17 00:00:00 2001
From: sivaram <101559568+sivaramani12@users.noreply.github.com>
Date: Wed, 29 Apr 2026 16:57:53 +0530
Subject: [PATCH 09/12] Update Jenkinsfile
---
Jenkinsfile | 57 ++++++++++++++++++++++++++++++++++++++++++-----------
1 file changed, 45 insertions(+), 12 deletions(-)
diff --git a/Jenkinsfile b/Jenkinsfile
index a0e8bc7..b280123 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -3,27 +3,60 @@ pipeline {
stages {
+ stage('Clean Workspace') {
+ steps {
+ cleanWs()
+ }
+ }
+
stage('checkout') {
steps {
- echo 'git checkout stage'
- git branch: 'main', url: 'https://github.com/sivaramani12/mindcircuit-forked.git'
- }
- }
+ script {
+ try {
+ echo 'git checkout stage'
+ git branch: 'main', url: 'https://github.com/sivaramani12/mindcircuit-forked.git'
+ }
+ catch (Exception e) {
+ echo "${e.message}"
+ }
+ }
+ }
+ }
stage('build') {
steps {
echo 'Building with maven '
- sh 'mvn clean install '
+ sh 'mvn clean install '
}
}
-
- stage('Deploy') {
- steps {
- echo 'Deploying to tomcat'
- deploy adapters: [tomcat9(alternativeDeploymentContext: '', credentialsId: 'tomcat', path: '', url: 'http://54.196.69.161:8080/')], contextPath: 'insta', war: '**/*.war'
+
+ stage('Deploy Parallel') {
+ parallel{
+ stage('Deploy to test') {
+ steps {
+ echo 'Deploying to tomcat test env'
+ deploy adapters: [tomcat9(alternativeDeploymentContext: '', credentialsId: 'tomcat', path: '', url: 'http://3.94.113.81:8080/')], contextPath: 'practice_29apr_2', war: '**/*.war'
+
+ }
+ }
- }
- }
+ stage('Deploy to stage') {
+ steps {
+ echo 'Deploying to tomcat stage env'
+ // deploy adapters: [tomcat9(alternativeDeploymentContext: '', credentialsId: 'tomcat', path: '', url: 'http://3.94.113.81:8080/')], contextPath: 'practice_29apr', war: '**/*.war'
+
+ }
+ }
+
+ stage('Deploy to dev') {
+ steps {
+ echo 'Deploying to tomcat dev env'
+ // deploy adapters: [tomcat9(alternativeDeploymentContext: '', credentialsId: 'tomcat', path: '', url: 'http://3.94.113.81:8080/')], contextPath: 'practice_29apr', war: '**/*.war'
+
+ }
+ }
+ }
+ }
}
}
From ce9a2974b90700235af673dca44361fdd3f2e7d3 Mon Sep 17 00:00:00 2001
From: sivaram <101559568+sivaramani12@users.noreply.github.com>
Date: Thu, 30 Apr 2026 17:07:41 +0530
Subject: [PATCH 10/12] Update pom.xml
---
pom.xml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/pom.xml b/pom.xml
index ca8196a..a4f01c8 100644
--- a/pom.xml
+++ b/pom.xml
@@ -17,12 +17,12 @@
NexusRepo
- http://34.201.119.102:8081/repository/batch16d-repo-snapshot/
+ http://98.91.18.133:8081/repository/Sample-repo-snapshot//
NexusRepo
- http://34.201.119.102:8081/repository/batch16d-repo-release/
+ http://98.91.18.133:8081/repository/Sample-repo-release//
From dd8fec8868a893afd3dff4726fffa6d83dece46f Mon Sep 17 00:00:00 2001
From: sivaram <101559568+sivaramani12@users.noreply.github.com>
Date: Thu, 30 Apr 2026 17:30:32 +0530
Subject: [PATCH 11/12] Update pom.xml
---
pom.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pom.xml b/pom.xml
index a4f01c8..25fabf9 100644
--- a/pom.xml
+++ b/pom.xml
@@ -5,7 +5,7 @@
com.example
facebookapp
- 1.0.0
+ 1.1.0
war
From c0ed57f2591e0fa68a04f85ea274b9dd0dafcc74 Mon Sep 17 00:00:00 2001
From: sivaram <101559568+sivaramani12@users.noreply.github.com>
Date: Thu, 30 Apr 2026 17:32:37 +0530
Subject: [PATCH 12/12] Update pom.xml
---
pom.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pom.xml b/pom.xml
index 25fabf9..556ec65 100644
--- a/pom.xml
+++ b/pom.xml
@@ -5,7 +5,7 @@
com.example
facebookapp
- 1.1.0
+ 1.0.0-SNAPSHOT
war