From 43702cd14cf21e5a611e7d0bb0dbe4ab57a6abfa Mon Sep 17 00:00:00 2001 From: Mithun Technologies Date: Mon, 22 Apr 2024 06:44:05 +0530 Subject: [PATCH 01/48] Update pom.xml --- pom.xml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pom.xml b/pom.xml index d832dea9c7..e26fe587a2 100644 --- a/pom.xml +++ b/pom.xml @@ -21,9 +21,8 @@ 5.1.2.RELEASE 4.11 1.2.17 - http://18.138.81.149:9000/ - admin - passw0rd + http://13.40.138.135:9000/ + squ_4f95478fe616d8f91577c00fb18deed499888d60 UTF-8 UTF-8 From 74d62dc03c80bcee7d4194108798571638bce542 Mon Sep 17 00:00:00 2001 From: Mithun Technologies Date: Mon, 22 Apr 2024 06:49:27 +0530 Subject: [PATCH 02/48] Update pom.xml --- pom.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index e26fe587a2..2a0ad9502b 100644 --- a/pom.xml +++ b/pom.xml @@ -97,13 +97,13 @@ nexus Mithun Technologies Releases Nexus Repository - http://54.255.174.111:8081/repository/flipkart-release/ + http://18.130.153.210:9980/mithuntechnologies/repository/canarabank-releases/ nexus Mithun Technologies Snapshot Nexus Repository - http://54.255.174.111:8081/repository/flipkart-snapshot/ + http://18.130.153.210:9980/mithuntechnologies/repository/canarabank-snapshot/ From 50085e3fb8e59da034329e5bfe22ee9b1827b156 Mon Sep 17 00:00:00 2001 From: Mithun Technologies Date: Tue, 23 Apr 2024 06:27:29 +0530 Subject: [PATCH 03/48] Update pom.xml --- pom.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pom.xml b/pom.xml index 2a0ad9502b..2fffae2cca 100644 --- a/pom.xml +++ b/pom.xml @@ -21,7 +21,7 @@ 5.1.2.RELEASE 4.11 1.2.17 - http://13.40.138.135:9000/ + http://172.31.13.54:9000/ squ_4f95478fe616d8f91577c00fb18deed499888d60 UTF-8 UTF-8 @@ -97,13 +97,13 @@ nexus Mithun Technologies Releases Nexus Repository - http://18.130.153.210:9980/mithuntechnologies/repository/canarabank-releases/ + http://172.31.3.243:9980/mithuntechnologies/repository/canarabank-releases/ nexus Mithun Technologies Snapshot Nexus Repository - http://18.130.153.210:9980/mithuntechnologies/repository/canarabank-snapshot/ + http://172.31.3.243:9980/mithuntechnologies/repository/canarabank-snapshot/ From 75a527064545b1753dc93b2e1cc78ba24027a9da Mon Sep 17 00:00:00 2001 From: Mithun Technologies Date: Tue, 23 Apr 2024 06:38:45 +0530 Subject: [PATCH 04/48] Update home.jsp --- src/main/webapp/jsps/home.jsp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/webapp/jsps/home.jsp b/src/main/webapp/jsps/home.jsp index 2d563be969..05348a08b6 100644 --- a/src/main/webapp/jsps/home.jsp +++ b/src/main/webapp/jsps/home.jsp @@ -9,6 +9,7 @@ +

Poll SCM - Welcome to Mithun Technologies Private Ltd. Best Place to upskill - New DevOps Batch will start on April 27th at 7.30 PM IST

Welcome to Mithun Technologies Private Ltd. Ph No: +91-9980923226, +91-9980923216 ,+91-9900012028,Bengaluru,Karnataka,India

Mithun Technologies- Very Good Training center for DevOps with AWS,Python & AWS Solution Architect & Terraform in Bangalore India.Teaching Real Time scnerios


From 062f381bdfff9b163c5876705351c63a36d17337 Mon Sep 17 00:00:00 2001 From: Mithun Technologies Date: Tue, 23 Apr 2024 06:56:56 +0530 Subject: [PATCH 05/48] Update home.jsp --- src/main/webapp/jsps/home.jsp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/webapp/jsps/home.jsp b/src/main/webapp/jsps/home.jsp index 05348a08b6..ce24355af3 100644 --- a/src/main/webapp/jsps/home.jsp +++ b/src/main/webapp/jsps/home.jsp @@ -9,7 +9,7 @@ -

Poll SCM - Welcome to Mithun Technologies Private Ltd. Best Place to upskill - New DevOps Batch will start on April 27th at 7.30 PM IST

+

GitHub WebHook - Welcome to Mithun Technologies Private Ltd. Best Place to upskill - New DevOps Batch will start on April 27th at 7.30 PM IST

Welcome to Mithun Technologies Private Ltd. Ph No: +91-9980923226, +91-9980923216 ,+91-9900012028,Bengaluru,Karnataka,India

Mithun Technologies- Very Good Training center for DevOps with AWS,Python & AWS Solution Architect & Terraform in Bangalore India.Teaching Real Time scnerios


From 97159d3b6fa08aa84a4aad9c91549a95a10eb123 Mon Sep 17 00:00:00 2001 From: Mithun Technologies Date: Mon, 29 Apr 2024 07:11:56 +0530 Subject: [PATCH 06/48] Update home.jsp --- src/main/webapp/jsps/home.jsp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/webapp/jsps/home.jsp b/src/main/webapp/jsps/home.jsp index ce24355af3..abb9a31459 100644 --- a/src/main/webapp/jsps/home.jsp +++ b/src/main/webapp/jsps/home.jsp @@ -9,7 +9,7 @@ -

GitHub WebHook - Welcome to Mithun Technologies Private Ltd. Best Place to upskill - New DevOps Batch will start on April 27th at 7.30 PM IST

+

Welcome to Mithun Technologies Private Ltd. Best Place to upskill - New DevOps Batch will start on May 1st at 7.30 PM IST

Welcome to Mithun Technologies Private Ltd. Ph No: +91-9980923226, +91-9980923216 ,+91-9900012028,Bengaluru,Karnataka,India

Mithun Technologies- Very Good Training center for DevOps with AWS,Python & AWS Solution Architect & Terraform in Bangalore India.Teaching Real Time scnerios


From f0039e26e773f01c5a89c03a7db1971051b04371 Mon Sep 17 00:00:00 2001 From: Mithun Technologies Date: Mon, 29 Apr 2024 07:22:19 +0530 Subject: [PATCH 07/48] Create Jenkinsfile --- Jenkinsfile | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 Jenkinsfile diff --git a/Jenkinsfile b/Jenkinsfile new file mode 100644 index 0000000000..298952c6cd --- /dev/null +++ b/Jenkinsfile @@ -0,0 +1,35 @@ +node{ + +def mavenHome = tool name: 'maven3.9.5' + +echo "The Job name is : ${env.JOB_NAME}" +echo "Jenkins Home dir is: ${env.JENKINS_HOME}" +echo "THe Jenkins node name is: ${env.NODE_NAME}" +echo "The Build number is: ${env.BUILD_NUMBER}" + + +properties([buildDiscarder(logRotator(artifactDaysToKeepStr: '', artifactNumToKeepStr: '5', daysToKeepStr: '', numToKeepStr: '5')), [$class: 'RebuildSettings', autoRebuild: false, rebuildDisabled: false], [$class: 'JobLocalConfiguration', changeReasonComment: ''], pipelineTriggers([pollSCM('* * * * *')])]) + +stage('CheckoutCode'){ +git branch: 'development', credentialsId: 'd6df2d94-c538-42c5-9f24-fe8f34e2d3ed', url: 'https://github.com/MithunTechnologiesDevOps/maven-web-application.git' +} + +stage('Build'){ +sh "${mavenHome}/bin/mvn clean package" +} + +stage('ExecuteSonarQubeReport'){ +sh "${mavenHome}/bin/mvn clean sonar:sonar" +} + +stage('UploadArtifactIntoNexus'){ +sh "${mavenHome}/bin/mvn clean deploy" +} + +stage('DeployAppIntoTomcat'){ +sshagent(['d6426027-80c3-4552-8996-88b0e796f475']) { + sh "scp -o StrictHostKeyChecking=no target/maven-web-application.war ec2-user@172.31.41.45:/opt/apache-tomcat-9.0.86/webapps/" +} +} + +} From d0ca17ddb1a6720bc1ed9ea52dbcf43f988fea60 Mon Sep 17 00:00:00 2001 From: Mithun Technologies Date: Mon, 29 Apr 2024 07:24:21 +0530 Subject: [PATCH 08/48] Rename Jenkinsfile to JenkinsfileMarch2024Batch --- Jenkinsfile => JenkinsfileMarch2024Batch | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename Jenkinsfile => JenkinsfileMarch2024Batch (100%) diff --git a/Jenkinsfile b/JenkinsfileMarch2024Batch similarity index 100% rename from Jenkinsfile rename to JenkinsfileMarch2024Batch From 7a7f78e024c26599955b1fdc28a731e16cd36c79 Mon Sep 17 00:00:00 2001 From: Mithun Technologies Date: Mon, 29 Apr 2024 07:27:25 +0530 Subject: [PATCH 09/48] Update JenkinsfileMarch2024Batch --- JenkinsfileMarch2024Batch | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/JenkinsfileMarch2024Batch b/JenkinsfileMarch2024Batch index 298952c6cd..4847dfe597 100644 --- a/JenkinsfileMarch2024Batch +++ b/JenkinsfileMarch2024Batch @@ -17,7 +17,7 @@ git branch: 'development', credentialsId: 'd6df2d94-c538-42c5-9f24-fe8f34e2d3ed' stage('Build'){ sh "${mavenHome}/bin/mvn clean package" } - +/* stage('ExecuteSonarQubeReport'){ sh "${mavenHome}/bin/mvn clean sonar:sonar" } @@ -31,5 +31,6 @@ sshagent(['d6426027-80c3-4552-8996-88b0e796f475']) { sh "scp -o StrictHostKeyChecking=no target/maven-web-application.war ec2-user@172.31.41.45:/opt/apache-tomcat-9.0.86/webapps/" } } +*/ } From 6b8efd7c3e11f4a480222799fe54a4a7982e547e Mon Sep 17 00:00:00 2001 From: Mithun Technologies Date: Fri, 3 May 2024 06:32:33 +0530 Subject: [PATCH 10/48] Update Jenkinsfile7AMNovBatch2022 --- Jenkinsfile7AMNovBatch2022 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile7AMNovBatch2022 b/Jenkinsfile7AMNovBatch2022 index e40817d597..a0f3d241e9 100644 --- a/Jenkinsfile7AMNovBatch2022 +++ b/Jenkinsfile7AMNovBatch2022 @@ -1,7 +1,7 @@ node{ properties([buildDiscarder(logRotator(artifactDaysToKeepStr: '', artifactNumToKeepStr: '5', daysToKeepStr: '', numToKeepStr: '5')), [$class: 'JobLocalConfiguration', changeReasonComment: ''], pipelineTriggers([pollSCM('* * * * *')])]) - + echo "The Job name is: ${env.JOB_NAME}" echo "The Nod ename is: ${env.NODE_NAME}" echo "The Build Number is: ${env.BUILD_NUMBER}" From cc4d4f97fbab6c18c3d99acf954689beaebcf1f8 Mon Sep 17 00:00:00 2001 From: Mithun Technologies Date: Fri, 21 Jun 2024 20:43:22 +0530 Subject: [PATCH 11/48] Update pom.xml --- pom.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index 2fffae2cca..e6654d3918 100644 --- a/pom.xml +++ b/pom.xml @@ -21,8 +21,8 @@ 5.1.2.RELEASE 4.11 1.2.17 - http://172.31.13.54:9000/ - squ_4f95478fe616d8f91577c00fb18deed499888d60 + http://3.108.191.142:9000/ + squ_558b8aed7563c6f8b7adfdfa81adb97dd2d3bb97 UTF-8 UTF-8 From 131583f2b380b910c0f9266bb913bc3619b37f40 Mon Sep 17 00:00:00 2001 From: Mithun Technologies Date: Fri, 21 Jun 2024 20:47:46 +0530 Subject: [PATCH 12/48] Update pom.xml --- pom.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index e6654d3918..358f34b99b 100644 --- a/pom.xml +++ b/pom.xml @@ -97,13 +97,13 @@ nexus Mithun Technologies Releases Nexus Repository - http://172.31.3.243:9980/mithuntechnologies/repository/canarabank-releases/ + http://13.201.53.201:9980/mithuntechnologies/repository/canarabank-releases/ nexus Mithun Technologies Snapshot Nexus Repository - http://172.31.3.243:9980/mithuntechnologies/repository/canarabank-snapshot/ + http://13.201.53.201:9980/mithuntechnologies/repository/canarabank-snapshot/ From e0a0cd316197417ac18557cc36556809964315b6 Mon Sep 17 00:00:00 2001 From: Mithun Technologies Date: Mon, 24 Jun 2024 19:51:54 +0530 Subject: [PATCH 13/48] Update pom.xml --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 358f34b99b..63ab85fbed 100644 --- a/pom.xml +++ b/pom.xml @@ -21,7 +21,7 @@ 5.1.2.RELEASE 4.11 1.2.17 - http://3.108.191.142:9000/ + http://172.31.45.1:9000/ squ_558b8aed7563c6f8b7adfdfa81adb97dd2d3bb97 UTF-8 UTF-8 From 4a0fbef32a04fe949a425d194b5b00553f9146ad Mon Sep 17 00:00:00 2001 From: Mithun Technologies Date: Mon, 24 Jun 2024 19:57:14 +0530 Subject: [PATCH 14/48] Update pom.xml --- pom.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index 63ab85fbed..e259d210b0 100644 --- a/pom.xml +++ b/pom.xml @@ -97,13 +97,13 @@ nexus Mithun Technologies Releases Nexus Repository - http://13.201.53.201:9980/mithuntechnologies/repository/canarabank-releases/ + http://172.31.40.189:9980/mithuntechnologies/repository/canarabank-releases/ nexus Mithun Technologies Snapshot Nexus Repository - http://13.201.53.201:9980/mithuntechnologies/repository/canarabank-snapshot/ + http://172.31.40.189:9980/mithuntechnologies/repository/canarabank-snapshot/ From 11583227bf113f96a5c69a0c8a2e628f5ed56284 Mon Sep 17 00:00:00 2001 From: Mithun Technologies Date: Mon, 24 Jun 2024 20:25:38 +0530 Subject: [PATCH 15/48] Update home.jsp --- src/main/webapp/jsps/home.jsp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/webapp/jsps/home.jsp b/src/main/webapp/jsps/home.jsp index abb9a31459..501cbc9643 100644 --- a/src/main/webapp/jsps/home.jsp +++ b/src/main/webapp/jsps/home.jsp @@ -9,7 +9,7 @@ -

Welcome to Mithun Technologies Private Ltd. Best Place to upskill - New DevOps Batch will start on May 1st at 7.30 PM IST

+

Welcome to Mithun Technologies Private Ltd. Best Place to upskill - New DevOps Batch will start on July month 7.30 PM IST

Welcome to Mithun Technologies Private Ltd. Ph No: +91-9980923226, +91-9980923216 ,+91-9900012028,Bengaluru,Karnataka,India

Mithun Technologies- Very Good Training center for DevOps with AWS,Python & AWS Solution Architect & Terraform in Bangalore India.Teaching Real Time scnerios


From a7d161c972ff149f120ace6c07d6a2c6239c0df1 Mon Sep 17 00:00:00 2001 From: Mithun Technologies Date: Mon, 24 Jun 2024 20:45:14 +0530 Subject: [PATCH 16/48] Update home.jsp --- src/main/webapp/jsps/home.jsp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/webapp/jsps/home.jsp b/src/main/webapp/jsps/home.jsp index 501cbc9643..8aba000359 100644 --- a/src/main/webapp/jsps/home.jsp +++ b/src/main/webapp/jsps/home.jsp @@ -9,7 +9,7 @@ -

Welcome to Mithun Technologies Private Ltd. Best Place to upskill - New DevOps Batch will start on July month 7.30 PM IST

+

Welcome to Mithun Technologies Private Ltd. Best Place to upskill - New DevOps Batch will start on July month 7.30 PM IST - WebHook Demo

Welcome to Mithun Technologies Private Ltd. Ph No: +91-9980923226, +91-9980923216 ,+91-9900012028,Bengaluru,Karnataka,India

Mithun Technologies- Very Good Training center for DevOps with AWS,Python & AWS Solution Architect & Terraform in Bangalore India.Teaching Real Time scnerios


From 7d4af3cdb1a7e35a17bfcc5fc0541ed0802c06f7 Mon Sep 17 00:00:00 2001 From: Mithun Technologies Date: Mon, 1 Jul 2024 19:50:01 +0530 Subject: [PATCH 17/48] Create Jenkinsfile --- Jenkinsfile | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 Jenkinsfile diff --git a/Jenkinsfile b/Jenkinsfile new file mode 100644 index 0000000000..0dfb1ed06b --- /dev/null +++ b/Jenkinsfile @@ -0,0 +1,36 @@ +node{ + +echo "Job name is: ${env.JOB_NAME}" +echo "Build Number is: ${env.BUILD_NUMBER}" +echo "Jenkins Home is: ${env.JENKINS_HOME}" +echo "Build Number is: ${env.BUILD_NUMBER}" + + +properties([buildDiscarder(logRotator(artifactDaysToKeepStr: '', artifactNumToKeepStr: '5', daysToKeepStr: '', numToKeepStr: '5')), [$class: 'JobLocalConfiguration', changeReasonComment: ''], pipelineTriggers([pollSCM('* * * * *')])]) + + def mavenHome = tool name: 'maven3.9.8' + +stage('CheckOutCode'){ +git branch: 'development', credentialsId: 'f52a7301-4cbc-4389-91fd-0e6ef69c493d', url: 'https://github.com/MithunTechnologiesDevOps/maven-web-application.git' +} + +stage('Build'){ +sh "${mavenHome}/bin/mvn clean package" +} +/* +stage('ExecuteSonarQubeReport'){ +sh "${mavenHome}/bin/mvn clean sonar:sonar" +} + +stage('UploadArtifactIntoNexus'){ +sh "${mavenHome}/bin/mvn clean deploy" +} + +stage('DeployAppIntoTomcat'){ +sshagent(['6c4f159b-13a1-403d-90c4-9957e4a42383']) { + sh "scp -o StrictHostKeyChecking=no target/maven-web-application.war ec2-user@172.31.2.201:/opt/apache-tomcat-9.0.89/webapps/" +} +} +*/ + +} From 9008a4cac0d47137a6a729629b3dc61d95934ea3 Mon Sep 17 00:00:00 2001 From: Mithun Technologies Date: Mon, 1 Jul 2024 19:54:04 +0530 Subject: [PATCH 18/48] Rename Jenkinsfile to JenkinsfileMay2024 --- Jenkinsfile => JenkinsfileMay2024 | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename Jenkinsfile => JenkinsfileMay2024 (100%) diff --git a/Jenkinsfile b/JenkinsfileMay2024 similarity index 100% rename from Jenkinsfile rename to JenkinsfileMay2024 From 1f25918123a88461144eff649bcd2b6cddfe213a Mon Sep 17 00:00:00 2001 From: Mithun Technologies Date: Thu, 25 Jul 2024 06:44:02 +0530 Subject: [PATCH 19/48] Update pom.xml --- pom.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index e259d210b0..424cbb4a6f 100644 --- a/pom.xml +++ b/pom.xml @@ -21,8 +21,8 @@ 5.1.2.RELEASE 4.11 1.2.17 - http://172.31.45.1:9000/ - squ_558b8aed7563c6f8b7adfdfa81adb97dd2d3bb97 + http://54.255.183.89:9000/ + squ_e2237ad77934d4fe7f6be147c53819acb1079580 UTF-8 UTF-8 From eb50f0e4fdfad51f9162679544d1d624f0802a7e Mon Sep 17 00:00:00 2001 From: Mithun Technologies Date: Thu, 25 Jul 2024 06:51:50 +0530 Subject: [PATCH 20/48] Update pom.xml --- pom.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index 424cbb4a6f..c7722fb935 100644 --- a/pom.xml +++ b/pom.xml @@ -97,13 +97,13 @@ nexus Mithun Technologies Releases Nexus Repository - http://172.31.40.189:9980/mithuntechnologies/repository/canarabank-releases/ + http://13.212.71.229:9980/mithuntechnologies/repository/canarabank-release/ nexus Mithun Technologies Snapshot Nexus Repository - http://172.31.40.189:9980/mithuntechnologies/repository/canarabank-snapshot/ + http://13.212.71.229:9980/mithuntechnologies/repository/canarabank-snapshot/ From 8d8bc2ee75db7712aece0f895a0d112532303c2c Mon Sep 17 00:00:00 2001 From: Mithun Technologies Date: Thu, 25 Jul 2024 07:26:41 +0530 Subject: [PATCH 21/48] Update home.jsp --- src/main/webapp/jsps/home.jsp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/webapp/jsps/home.jsp b/src/main/webapp/jsps/home.jsp index 8aba000359..d1d8637a80 100644 --- a/src/main/webapp/jsps/home.jsp +++ b/src/main/webapp/jsps/home.jsp @@ -9,7 +9,7 @@ -

Welcome to Mithun Technologies Private Ltd. Best Place to upskill - New DevOps Batch will start on July month 7.30 PM IST - WebHook Demo

+

Welcome to Mithun Technologies Private Ltd. Best Place to upskill - New DevOps Batch will start on Aug 1st 7.30 PM IST - PollSCM Demo

Welcome to Mithun Technologies Private Ltd. Ph No: +91-9980923226, +91-9980923216 ,+91-9900012028,Bengaluru,Karnataka,India

Mithun Technologies- Very Good Training center for DevOps with AWS,Python & AWS Solution Architect & Terraform in Bangalore India.Teaching Real Time scnerios


From 8aa5f4836d99f188dbb71c23976159ab5c151239 Mon Sep 17 00:00:00 2001 From: Mithun Technologies Date: Fri, 26 Jul 2024 06:14:50 +0530 Subject: [PATCH 22/48] Update pom.xml --- pom.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index c7722fb935..35b851be48 100644 --- a/pom.xml +++ b/pom.xml @@ -97,13 +97,13 @@ nexus Mithun Technologies Releases Nexus Repository - http://13.212.71.229:9980/mithuntechnologies/repository/canarabank-release/ + http://172.31.32.120:9980/mithuntechnologies/repository/canarabank-release/ nexus Mithun Technologies Snapshot Nexus Repository - http://13.212.71.229:9980/mithuntechnologies/repository/canarabank-snapshot/ + http://172.31.32.120:9980/mithuntechnologies/repository/canarabank-snapshot/ From c42d8ce798515d8fc8759ea001abdcb3182974c0 Mon Sep 17 00:00:00 2001 From: Mithun Technologies Date: Fri, 26 Jul 2024 06:18:33 +0530 Subject: [PATCH 23/48] Update pom.xml --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 35b851be48..c9987c276b 100644 --- a/pom.xml +++ b/pom.xml @@ -21,7 +21,7 @@ 5.1.2.RELEASE 4.11 1.2.17 - http://54.255.183.89:9000/ + http://172.31.38.63:9000/ squ_e2237ad77934d4fe7f6be147c53819acb1079580 UTF-8 UTF-8 From c88c816a18978c193ed26731c4a8edc146c257a6 Mon Sep 17 00:00:00 2001 From: Mithun Technologies Date: Fri, 26 Jul 2024 06:41:57 +0530 Subject: [PATCH 24/48] Update home.jsp --- src/main/webapp/jsps/home.jsp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/webapp/jsps/home.jsp b/src/main/webapp/jsps/home.jsp index d1d8637a80..0941a858b2 100644 --- a/src/main/webapp/jsps/home.jsp +++ b/src/main/webapp/jsps/home.jsp @@ -9,7 +9,7 @@ -

Welcome to Mithun Technologies Private Ltd. Best Place to upskill - New DevOps Batch will start on Aug 1st 7.30 PM IST - PollSCM Demo

+

Welcome to Mithun Technologies Private Ltd. Best Place to upskill - New DevOps Batch will start on Aug 1st 7.30 PM IST - WebHook Demo

Welcome to Mithun Technologies Private Ltd. Ph No: +91-9980923226, +91-9980923216 ,+91-9900012028,Bengaluru,Karnataka,India

Mithun Technologies- Very Good Training center for DevOps with AWS,Python & AWS Solution Architect & Terraform in Bangalore India.Teaching Real Time scnerios


From 3b91b1d27c6bb348eee0f5647fae5d7428f55bc0 Mon Sep 17 00:00:00 2001 From: Mithun Technologies Date: Thu, 1 Aug 2024 07:28:47 +0530 Subject: [PATCH 25/48] Create Jenkinsfile --- Jenkinsfile | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 Jenkinsfile diff --git a/Jenkinsfile b/Jenkinsfile new file mode 100644 index 0000000000..fd7e8abbcc --- /dev/null +++ b/Jenkinsfile @@ -0,0 +1,34 @@ +node{ + +def mavenHome = tool name: 'maven3.9.8' + + +echo "The Job name is: ${env.JOB_NAME}" +echo "The node name is: ${env.NODE_NAME}" +echo "The Jenkins Home dir is: ${env.JENKINS_HOME}" + +stage('CheckOutCode'){ +git branch: 'development', credentialsId: '8c8f9770-b08f-44f2-be9d-45a77bb7e105', url: 'https://github.com/MithunTechnologiesDevOps/maven-web-application.git' +} + +stage('Build'){ +sh "${mavenHome}/bin/mvn clean package" +} +/* +stage('ExecuteSonarQubeReport'){ +sh "${mavenHome}/bin/mvn clean sonar:sonar" +} + +stage('UploadArtifactInotNexus'){ +sh "${mavenHome}/bin/mvn clean deploy" +} + +stage('DeployAppIntoTomcat'){ +sshagent(['3223338a-9541-406a-9044-6e5109e2ce9e']) { + sh "scp -o StrictHostKeyChecking=no target/maven-web-application.war ec2-user@172.31.28.104:/opt/apache-tomcat-9.0.91/webapps/" +} +} + +*/ + +} From e3e53c41d51bd8ee8f81ecba631de1b639e17d9e Mon Sep 17 00:00:00 2001 From: Mithun Technologies Date: Thu, 1 Aug 2024 07:32:48 +0530 Subject: [PATCH 26/48] Rename Jenkinsfile to JenkinsfileJune2024Batch --- Jenkinsfile => JenkinsfileJune2024Batch | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename Jenkinsfile => JenkinsfileJune2024Batch (100%) diff --git a/Jenkinsfile b/JenkinsfileJune2024Batch similarity index 100% rename from Jenkinsfile rename to JenkinsfileJune2024Batch From 2bf87755964b5f6d99d8c9cad98106af92adf19e Mon Sep 17 00:00:00 2001 From: Mithun Technologies Date: Fri, 27 Sep 2024 20:30:57 +0530 Subject: [PATCH 27/48] Update pom.xml --- pom.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index c9987c276b..9703b58938 100644 --- a/pom.xml +++ b/pom.xml @@ -21,8 +21,8 @@ 5.1.2.RELEASE 4.11 1.2.17 - http://172.31.38.63:9000/ - squ_e2237ad77934d4fe7f6be147c53819acb1079580 + http://35.178.201.33:9000/ + squ_71817690eef2384cc9378677a0eb06d4c6734578 UTF-8 UTF-8 From e22983bbdd73c4e588c63f98fa23cd48a897ab10 Mon Sep 17 00:00:00 2001 From: Mithun Technologies Date: Fri, 27 Sep 2024 20:37:38 +0530 Subject: [PATCH 28/48] Update pom.xml --- pom.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index 9703b58938..3318105ab8 100644 --- a/pom.xml +++ b/pom.xml @@ -97,13 +97,13 @@ nexus Mithun Technologies Releases Nexus Repository - http://172.31.32.120:9980/mithuntechnologies/repository/canarabank-release/ + http://18.169.188.104:9980/mithuntechnologies/repository/canarabank-releases/ nexus Mithun Technologies Snapshot Nexus Repository - http://172.31.32.120:9980/mithuntechnologies/repository/canarabank-snapshot/ + http://18.169.188.104:9980/mithuntechnologies/repository/canarabank-snapshot/ From 8329a572518aff566db9748a96adcb4572e1292b Mon Sep 17 00:00:00 2001 From: Mithun Technologies Date: Mon, 30 Sep 2024 19:46:33 +0530 Subject: [PATCH 29/48] Update pom.xml --- pom.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pom.xml b/pom.xml index 3318105ab8..2e2419e03d 100644 --- a/pom.xml +++ b/pom.xml @@ -21,7 +21,7 @@ 5.1.2.RELEASE 4.11 1.2.17 - http://35.178.201.33:9000/ + http://172.31.31.224:9000/ squ_71817690eef2384cc9378677a0eb06d4c6734578 UTF-8 UTF-8 @@ -97,13 +97,13 @@ nexus Mithun Technologies Releases Nexus Repository - http://18.169.188.104:9980/mithuntechnologies/repository/canarabank-releases/ + http://172.31.18.88:9980/mithuntechnologies/repository/canarabank-releases/ nexus Mithun Technologies Snapshot Nexus Repository - http://18.169.188.104:9980/mithuntechnologies/repository/canarabank-snapshot/ + http://172.31.18.88:9980/mithuntechnologies/repository/canarabank-snapshot/ From 1c708ec739379c153cdabf57a14caea77877354c Mon Sep 17 00:00:00 2001 From: Mithun Technologies Date: Mon, 30 Sep 2024 19:57:32 +0530 Subject: [PATCH 30/48] Update home.jsp --- src/main/webapp/jsps/home.jsp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/webapp/jsps/home.jsp b/src/main/webapp/jsps/home.jsp index 0941a858b2..6ddb49619a 100644 --- a/src/main/webapp/jsps/home.jsp +++ b/src/main/webapp/jsps/home.jsp @@ -9,7 +9,7 @@ -

Welcome to Mithun Technologies Private Ltd. Best Place to upskill - New DevOps Batch will start on Aug 1st 7.30 PM IST - WebHook Demo

+

Welcome to Mithun Technologies Private Ltd. Best Place to upskill - New Terraform Batch will start on Oct 1st 8.00 AM IST

Welcome to Mithun Technologies Private Ltd. Ph No: +91-9980923226, +91-9980923216 ,+91-9900012028,Bengaluru,Karnataka,India

Mithun Technologies- Very Good Training center for DevOps with AWS,Python & AWS Solution Architect & Terraform in Bangalore India.Teaching Real Time scnerios


From bce0c118d1b3d28c442efc9d72fcc81fe0273333 Mon Sep 17 00:00:00 2001 From: Mithun Technologies Date: Mon, 30 Sep 2024 20:14:32 +0530 Subject: [PATCH 31/48] Update home.jsp --- src/main/webapp/jsps/home.jsp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/webapp/jsps/home.jsp b/src/main/webapp/jsps/home.jsp index 6ddb49619a..3dbc0ac64f 100644 --- a/src/main/webapp/jsps/home.jsp +++ b/src/main/webapp/jsps/home.jsp @@ -9,7 +9,7 @@ -

Welcome to Mithun Technologies Private Ltd. Best Place to upskill - New Terraform Batch will start on Oct 1st 8.00 AM IST

+

Welcome to Mithun Technologies Private Ltd. Best Place to upskill - New Terraform Batch will start on Oct 1st 8.00 AM IST - WebHook Demo

Welcome to Mithun Technologies Private Ltd. Ph No: +91-9980923226, +91-9980923216 ,+91-9900012028,Bengaluru,Karnataka,India

Mithun Technologies- Very Good Training center for DevOps with AWS,Python & AWS Solution Architect & Terraform in Bangalore India.Teaching Real Time scnerios


From ab9d5d56cbd7e30b0255fb7ada42ce33967354da Mon Sep 17 00:00:00 2001 From: Mithun Technologies Date: Mon, 30 Sep 2024 20:19:06 +0530 Subject: [PATCH 32/48] Update home.jsp --- src/main/webapp/jsps/home.jsp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/webapp/jsps/home.jsp b/src/main/webapp/jsps/home.jsp index 3dbc0ac64f..86f16e223d 100644 --- a/src/main/webapp/jsps/home.jsp +++ b/src/main/webapp/jsps/home.jsp @@ -9,7 +9,7 @@ -

Welcome to Mithun Technologies Private Ltd. Best Place to upskill - New Terraform Batch will start on Oct 1st 8.00 AM IST - WebHook Demo

+

Welcome to Mithun Technologies Private Ltd. Best Place to upskill - New Terraform Batch will start on Oct 1st at 8.00 AM IST - WebHook Demo

Welcome to Mithun Technologies Private Ltd. Ph No: +91-9980923226, +91-9980923216 ,+91-9900012028,Bengaluru,Karnataka,India

Mithun Technologies- Very Good Training center for DevOps with AWS,Python & AWS Solution Architect & Terraform in Bangalore India.Teaching Real Time scnerios


From 5d7f411fe8bd8f67600c4fb463836b719e9aa3d1 Mon Sep 17 00:00:00 2001 From: Mithun Technologies Date: Fri, 4 Oct 2024 21:00:53 +0530 Subject: [PATCH 33/48] Create Jenkinsfile --- Jenkinsfile | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 Jenkinsfile diff --git a/Jenkinsfile b/Jenkinsfile new file mode 100644 index 0000000000..4dead90a00 --- /dev/null +++ b/Jenkinsfile @@ -0,0 +1,36 @@ +node{ + +def mavenHome = tool name: 'maven3.9.8' + +properties([buildDiscarder(logRotator(artifactDaysToKeepStr: '', artifactNumToKeepStr: '5', daysToKeepStr: '', numToKeepStr: '5')), pipelineTriggers([cron('* * * * *')])]) + +echo "Job name is ${env.JOB_NAME}" +echo "Build number is: ${env.BUILD_NUMBER}" +echo "The node name is: ${env.NODE_NAME}" +echo "The Job url is: ${env.JOB_URL}" + + + +stage('CheckoutCode'){ +git branch: 'development', credentialsId: 'f00f923e-acd7-4f0c-b416-c22bd29206b1', url: 'https://github.com/MithunTechnologiesDevOps/maven-web-application.git' +} + +stage('Build'){ +sh "$mavenHome/bin/mvn clean package" +} + +stage('ExecuteSonarQubeReport'){ +sh "$mavenHome/bin/mvn clean sonar:sonar" +} + +stage('UploadArtifactsIntoNexus'){ +sh "$mavenHome/bin/mvn clean deploy" +} + +stage('DeployAppIntoTomcat'){ +sshagent(['dc54ad51-dada-430b-bbd7-5460b56fcd05']) { +sh "scp -o StrictHostKeyChecking=no target/maven-web-application.war ec2-user@172.31.18.196:/opt/apache-tomcat-9.0.95/webapps/" +} +} + +} From cdd432f39820ebd3b63133e24660268f3368f26b Mon Sep 17 00:00:00 2001 From: Mithun Technologies Date: Fri, 4 Oct 2024 21:05:00 +0530 Subject: [PATCH 34/48] Rename Jenkinsfile to JenkinsfileAugust2024 --- Jenkinsfile => JenkinsfileAugust2024 | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename Jenkinsfile => JenkinsfileAugust2024 (100%) diff --git a/Jenkinsfile b/JenkinsfileAugust2024 similarity index 100% rename from Jenkinsfile rename to JenkinsfileAugust2024 From 4c6274044dbfdd2ff58597b45bdc45220eca4fee Mon Sep 17 00:00:00 2001 From: Mithun Technologies Date: Fri, 4 Oct 2024 21:08:03 +0530 Subject: [PATCH 35/48] Update JenkinsfileAugust2024 --- JenkinsfileAugust2024 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/JenkinsfileAugust2024 b/JenkinsfileAugust2024 index 4dead90a00..6a211ec8de 100644 --- a/JenkinsfileAugust2024 +++ b/JenkinsfileAugust2024 @@ -18,7 +18,7 @@ git branch: 'development', credentialsId: 'f00f923e-acd7-4f0c-b416-c22bd29206b1' stage('Build'){ sh "$mavenHome/bin/mvn clean package" } - +/* stage('ExecuteSonarQubeReport'){ sh "$mavenHome/bin/mvn clean sonar:sonar" } @@ -32,5 +32,6 @@ sshagent(['dc54ad51-dada-430b-bbd7-5460b56fcd05']) { sh "scp -o StrictHostKeyChecking=no target/maven-web-application.war ec2-user@172.31.18.196:/opt/apache-tomcat-9.0.95/webapps/" } } +*/ } From 8e7e59edd2f281bd923fff1f7db053a14fe5955b Mon Sep 17 00:00:00 2001 From: Mithun Technologies Date: Sat, 2 Nov 2024 06:53:58 +0530 Subject: [PATCH 36/48] Update pom.xml --- pom.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index 2e2419e03d..41679dd623 100644 --- a/pom.xml +++ b/pom.xml @@ -21,8 +21,8 @@ 5.1.2.RELEASE 4.11 1.2.17 - http://172.31.31.224:9000/ - squ_71817690eef2384cc9378677a0eb06d4c6734578 + http://3.8.137.103:9980/ + squ_245086d819362cc68767442463b318d902c88581 UTF-8 UTF-8 From f1e48ba0d039919f8d9ddd60a477a95b9242f4bf Mon Sep 17 00:00:00 2001 From: Mithun Technologies Date: Sat, 2 Nov 2024 06:59:17 +0530 Subject: [PATCH 37/48] Update pom.xml --- pom.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index 41679dd623..b3f6140675 100644 --- a/pom.xml +++ b/pom.xml @@ -97,13 +97,13 @@ nexus Mithun Technologies Releases Nexus Repository - http://172.31.18.88:9980/mithuntechnologies/repository/canarabank-releases/ + http://35.179.112.2:9980/mithuntechnologies/repository/canarabank-releases/ nexus Mithun Technologies Snapshot Nexus Repository - http://172.31.18.88:9980/mithuntechnologies/repository/canarabank-snapshot/ + http://35.179.112.2:9980/mithuntechnologies/repository/canarabank-snapshot/ From 594c39fad64e1cd33d12c50a5593ade122931d64 Mon Sep 17 00:00:00 2001 From: Mithun Technologies Date: Sat, 2 Nov 2024 07:14:23 +0530 Subject: [PATCH 38/48] Update pom.xml --- pom.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index b3f6140675..dc33d46b0a 100644 --- a/pom.xml +++ b/pom.xml @@ -97,13 +97,13 @@ nexus Mithun Technologies Releases Nexus Repository - http://35.179.112.2:9980/mithuntechnologies/repository/canarabank-releases/ + http://13.40.23.204:9980/mithuntechnologies/repository/canarabank-releases/ nexus Mithun Technologies Snapshot Nexus Repository - http://35.179.112.2:9980/mithuntechnologies/repository/canarabank-snapshot/ + http://13.40.23.204:9980/mithuntechnologies/repository/canarabank-snapshot/ From e06d17da24e8703708b7814fe7724f2e84018442 Mon Sep 17 00:00:00 2001 From: Mithun Technologies Date: Mon, 4 Nov 2024 06:13:18 +0530 Subject: [PATCH 39/48] Update pom.xml --- pom.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pom.xml b/pom.xml index dc33d46b0a..566a82ea53 100644 --- a/pom.xml +++ b/pom.xml @@ -21,7 +21,7 @@ 5.1.2.RELEASE 4.11 1.2.17 - http://3.8.137.103:9980/ + http://172.31.21.85:9980/ squ_245086d819362cc68767442463b318d902c88581 UTF-8 UTF-8 @@ -97,13 +97,13 @@ nexus Mithun Technologies Releases Nexus Repository - http://13.40.23.204:9980/mithuntechnologies/repository/canarabank-releases/ + http://172.31.25.203:9980/mithuntechnologies/repository/canarabank-releases/ nexus Mithun Technologies Snapshot Nexus Repository - http://13.40.23.204:9980/mithuntechnologies/repository/canarabank-snapshot/ + http://172.31.25.203:9980/mithuntechnologies/repository/canarabank-snapshot/ From 08b9727010b601ad845ce6008c38ba4bd9219604 Mon Sep 17 00:00:00 2001 From: Mithun Technologies Date: Mon, 4 Nov 2024 06:23:25 +0530 Subject: [PATCH 40/48] Update home.jsp --- src/main/webapp/jsps/home.jsp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/webapp/jsps/home.jsp b/src/main/webapp/jsps/home.jsp index 86f16e223d..a7f6f5db23 100644 --- a/src/main/webapp/jsps/home.jsp +++ b/src/main/webapp/jsps/home.jsp @@ -9,7 +9,7 @@ -

Welcome to Mithun Technologies Private Ltd. Best Place to upskill - New Terraform Batch will start on Oct 1st at 8.00 AM IST - WebHook Demo

+

Welcome to Mithun Technologies Private Ltd. Best Place to upskill - New DevOps with AWS Batch will start on Nov 9th at 7.30 PM IST - PollSCM Demo

Welcome to Mithun Technologies Private Ltd. Ph No: +91-9980923226, +91-9980923216 ,+91-9900012028,Bengaluru,Karnataka,India

Mithun Technologies- Very Good Training center for DevOps with AWS,Python & AWS Solution Architect & Terraform in Bangalore India.Teaching Real Time scnerios


From 200d74198d686a9d6b930fef70e6085fd4f11e74 Mon Sep 17 00:00:00 2001 From: Mithun Technologies Date: Mon, 4 Nov 2024 06:44:23 +0530 Subject: [PATCH 41/48] Update home.jsp --- src/main/webapp/jsps/home.jsp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/webapp/jsps/home.jsp b/src/main/webapp/jsps/home.jsp index a7f6f5db23..c06b97442e 100644 --- a/src/main/webapp/jsps/home.jsp +++ b/src/main/webapp/jsps/home.jsp @@ -9,7 +9,7 @@ -

Welcome to Mithun Technologies Private Ltd. Best Place to upskill - New DevOps with AWS Batch will start on Nov 9th at 7.30 PM IST - PollSCM Demo

+

Welcome to Mithun Technologies Private Ltd. Best Place to upskill - New DevOps with AWS Batch will start on Nov 9th at 7.30 PM IST - WebHook Demo

Welcome to Mithun Technologies Private Ltd. Ph No: +91-9980923226, +91-9980923216 ,+91-9900012028,Bengaluru,Karnataka,India

Mithun Technologies- Very Good Training center for DevOps with AWS,Python & AWS Solution Architect & Terraform in Bangalore India.Teaching Real Time scnerios


From 2e35bf4ebef0f5ca99cd0b915b832042e41a1e0f Mon Sep 17 00:00:00 2001 From: Mithun Technologies Date: Fri, 8 Nov 2024 06:48:15 +0530 Subject: [PATCH 42/48] Update pom.xml --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 566a82ea53..0badd8f891 100644 --- a/pom.xml +++ b/pom.xml @@ -21,7 +21,7 @@ 5.1.2.RELEASE 4.11 1.2.17 - http://172.31.21.85:9980/ + http://172.31.45.98:9980/ squ_245086d819362cc68767442463b318d902c88581 UTF-8 UTF-8 From ba32da1e1a46c27fbae2575391916a3ac353d884 Mon Sep 17 00:00:00 2001 From: Mithun Technologies Date: Fri, 8 Nov 2024 06:49:21 +0530 Subject: [PATCH 43/48] Update pom.xml --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 0badd8f891..d8dab88748 100644 --- a/pom.xml +++ b/pom.xml @@ -21,7 +21,7 @@ 5.1.2.RELEASE 4.11 1.2.17 - http://172.31.45.98:9980/ + http://172.31.45.98:9000/ squ_245086d819362cc68767442463b318d902c88581 UTF-8 UTF-8 From 001b2eb447589250d0769865d3f29e718fbcb8bb Mon Sep 17 00:00:00 2001 From: Mithun Technologies Date: Fri, 8 Nov 2024 06:50:58 +0530 Subject: [PATCH 44/48] Update pom.xml --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index d8dab88748..1ca64da709 100644 --- a/pom.xml +++ b/pom.xml @@ -22,7 +22,7 @@ 4.11 1.2.17 http://172.31.45.98:9000/ - squ_245086d819362cc68767442463b318d902c88581 + squ_8b5bf1e9057b32ea49a542206eadec00089c43cf UTF-8 UTF-8 From 65abfa5d62acf358014712e4e0e70711a70821b4 Mon Sep 17 00:00:00 2001 From: Mithun Technologies Date: Fri, 8 Nov 2024 06:54:29 +0530 Subject: [PATCH 45/48] Update pom.xml --- pom.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index 1ca64da709..a5e080bebb 100644 --- a/pom.xml +++ b/pom.xml @@ -97,13 +97,13 @@ nexus Mithun Technologies Releases Nexus Repository - http://172.31.25.203:9980/mithuntechnologies/repository/canarabank-releases/ + http://13.232.191.197:8081/repository/canarabank-releases/ nexus Mithun Technologies Snapshot Nexus Repository - http://172.31.25.203:9980/mithuntechnologies/repository/canarabank-snapshot/ + http://13.232.191.197:8081/repository/canarabank-snapshot/ From f26082c8fdd4d08107f0873874416b988d2bf0c5 Mon Sep 17 00:00:00 2001 From: Mithun Technologies Date: Mon, 11 Nov 2024 06:22:26 +0530 Subject: [PATCH 46/48] Update pom.xml --- pom.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index a5e080bebb..51e6defbd3 100644 --- a/pom.xml +++ b/pom.xml @@ -97,13 +97,13 @@ nexus Mithun Technologies Releases Nexus Repository - http://13.232.191.197:8081/repository/canarabank-releases/ + http://172.31.37.134:8081/repository/canarabank-releases/ nexus Mithun Technologies Snapshot Nexus Repository - http://13.232.191.197:8081/repository/canarabank-snapshot/ + http://172.31.37.134:8081/repository/canarabank-snapshot/ From 847c0cdaecd9dc072d2adf6b4e66f1a78543f44e Mon Sep 17 00:00:00 2001 From: Mithun Technologies Date: Mon, 11 Nov 2024 06:34:45 +0530 Subject: [PATCH 47/48] Create Jenkinsfile --- Jenkinsfile | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 Jenkinsfile diff --git a/Jenkinsfile b/Jenkinsfile new file mode 100644 index 0000000000..0db348e84d --- /dev/null +++ b/Jenkinsfile @@ -0,0 +1,36 @@ +node{ + +echo "The Job name is: ${env.JOB_NAME}" +echo "The Node name is: ${env.NODE_NAME}" +echo "The build number is: ${env.BUILD_NUMBER}" + +properties([buildDiscarder(logRotator(artifactDaysToKeepStr: '', artifactNumToKeepStr: '5', daysToKeepStr: '', numToKeepStr: '5')), pipelineTriggers([pollSCM('* * * * *')])]) + + +def mavenHome = tool name: 'maven3.9.8' + +stage('CheckOutCode'){ +git branch: 'development', credentialsId: '52d61b39-b2dc-4ce5-a7e6-b0033b6e4d2f', url: 'https://github.com/MithunTechnologiesDevOps/maven-web-application.git' +} + +stage('Build'){ +sh "${mavenHome}/bin/mvn clean package" +} + + /* +stage('ExecuteSonarqubeReport'){ +sh "${mavenHome}/bin/mvn clean sonar:sonar" +} + +stage('UploadArtifactsInotNexus'){ +sh "${mavenHome}/bin/mvn clean deploy" +} + +stage('DeployAppIntoTomcatServer'){ +sshagent(['b12eb970-18b1-4fb1-a861-7c04af376ccd']) { + sh "scp -o StrictHostKeyChecking=no target/maven-web-application.war ec2-user@172.31.2.185:/opt/apache-tomcat-9.0.96/webapps/" +} +} +*/ + +} From bfba92cd4a30c6fe29e0cc049a9d3a1986d52a75 Mon Sep 17 00:00:00 2001 From: Mithun Technologies Date: Mon, 11 Nov 2024 06:39:40 +0530 Subject: [PATCH 48/48] Rename Jenkinsfile to JenkinsfileSep2024Batch --- Jenkinsfile => JenkinsfileSep2024Batch | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename Jenkinsfile => JenkinsfileSep2024Batch (100%) diff --git a/Jenkinsfile b/JenkinsfileSep2024Batch similarity index 100% rename from Jenkinsfile rename to JenkinsfileSep2024Batch