From 739ea67dd82b8ee41dda87aacc3bd5b780c5e4da Mon Sep 17 00:00:00 2001 From: Mithun Technologies Date: Sat, 21 Dec 2019 19:18:35 +0530 Subject: [PATCH 01/21] Create Jenkinsfile --- Jenkinsfile | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 Jenkinsfile diff --git a/Jenkinsfile b/Jenkinsfile new file mode 100644 index 0000000..02fe9c6 --- /dev/null +++ b/Jenkinsfile @@ -0,0 +1,44 @@ +node +{ + + def mavenHome=tool name: "maven3.6.3" + + stage('Checkout') + { + git branch: 'development', credentialsId: 'bed5a851-d84d-412e-87e7-bf9ce23c0e0e', url: 'https://github.com/MithunTechnologiesDevOps/maven-web-application.git' + + } + + /* + stage('Build') + { + sh "${mavenHome}/bin/mvn clean package" + } + + stage('ExecuteSoanrQubeReport') + { + sh "${mavenHome}/bin/mvn sonar:sonar" + } + + stage('UploadArtifactintoNexus') + { + sh "${mavenHome}/bin/mvn deploy" + } + + stage('DeployAppintoTomcat') + { + sshagent(['cd93d61f-2d0f-4c60-8b33-34cf4fa888b0']) { + sh "scp -o StrictHostKeyChecking=no target/maven-web-application.war ec2-user@13.235.132.183:/opt/apache-tomcat-9.0.29/webapps/" + } + } + + stage('SendEmailNotification') + { + emailext body: '''Build is over.. + + Regards, + Mithun Technologies, + 9980923226.''', subject: 'Build is over', to: 'devopstrainingblr@gmail.com' + } + */ +} From 31c7b89ad2169a6eeb57f4e74fd18e79c91efe32 Mon Sep 17 00:00:00 2001 From: Mithun Technologies Date: Sat, 21 Dec 2019 19:27:52 +0530 Subject: [PATCH 02/21] Update Jenkinsfile --- Jenkinsfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 02fe9c6..bec9afd 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -31,7 +31,7 @@ node sh "scp -o StrictHostKeyChecking=no target/maven-web-application.war ec2-user@13.235.132.183:/opt/apache-tomcat-9.0.29/webapps/" } } - +*/ stage('SendEmailNotification') { emailext body: '''Build is over.. @@ -40,5 +40,5 @@ node Mithun Technologies, 9980923226.''', subject: 'Build is over', to: 'devopstrainingblr@gmail.com' } - */ + } From bb3acb30a075bb49e899a25d50e6519ec59afad9 Mon Sep 17 00:00:00 2001 From: Mithun Technologies Date: Sat, 21 Dec 2019 20:50:25 +0530 Subject: [PATCH 03/21] Update Jenkinsfile --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index bec9afd..e5aaa32 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,4 +1,4 @@ -node +node('node1') { def mavenHome=tool name: "maven3.6.3" From f3f0fa02f9c64e54bc54bb7b046bb4d88fcc04f6 Mon Sep 17 00:00:00 2001 From: Mithun Technologies Date: Tue, 21 Jan 2020 10:06:32 +0530 Subject: [PATCH 04/21] Update pom.xml --- pom.xml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/pom.xml b/pom.xml index f6fba35..25c79e0 100644 --- a/pom.xml +++ b/pom.xml @@ -21,9 +21,10 @@ 5.1.2.RELEASE 4.11 1.2.17 - http://15.206.69.51:9000/ - admin - admin + http://13.233.30.32:9000/ + 909d10f38373cd3ad976753a526f5346de8d7a8e + UTF-8 UTF-8 From 874ce2e43ee246d33e61654b48eb18693d1546d6 Mon Sep 17 00:00:00 2001 From: Mithun Technologies Date: Tue, 21 Jan 2020 10:17:36 +0530 Subject: [PATCH 05/21] Update pom.xml --- pom.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index 25c79e0..01b8845 100644 --- a/pom.xml +++ b/pom.xml @@ -99,13 +99,13 @@ nexus Mithun Technologies Releases Nexus Repository - http://13.235.103.28:8081/repository/flipkart-releases/ + http://13.233.86.205:8081/repository/flipkart-relases/ nexus Mithun Technologies Snapshot Nexus Repository - http://13.235.103.28:8081/repository/flipkart-snapshot/ + http://13.233.86.205:8081/repository/flipkart-snapshot/ From 93940c58e5314702ebb10957880afe19af3fff4e Mon Sep 17 00:00:00 2001 From: Mithun Technologies Date: Tue, 21 Jan 2020 10:58:03 +0530 Subject: [PATCH 06/21] 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 c8c7842..1d93d9f 100644 --- a/src/main/webapp/jsps/home.jsp +++ b/src/main/webapp/jsps/home.jsp @@ -10,7 +10,7 @@

Welcome to Mithun Technologies.

-

Very Good Training center for DevOps with AWS in Maratha Halli and also for Job Assitance Job Support also...Teaching Real Time scnerios

+

Very Good Training center for DevOps with AWS in Maratha Halli and also for Job Assitance Job Support also...Teaching Real Time scnerios and use cases...


From e84274a00fe407e31cfad776e2bed74b8b3fcc0c Mon Sep 17 00:00:00 2001 From: Mithun Technologies Date: Wed, 22 Jan 2020 09:22:46 +0530 Subject: [PATCH 07/21] Update pom.xml --- pom.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pom.xml b/pom.xml index 01b8845..9e59a5e 100644 --- a/pom.xml +++ b/pom.xml @@ -21,7 +21,7 @@ 5.1.2.RELEASE 4.11 1.2.17 - http://13.233.30.32:9000/ + http://13.235.23.166:9000/ 909d10f38373cd3ad976753a526f5346de8d7a8e @@ -99,13 +99,13 @@ nexus Mithun Technologies Releases Nexus Repository - http://13.233.86.205:8081/repository/flipkart-relases/ + http://13.233.208.197:8081/repository/flipkart-relases/ nexus Mithun Technologies Snapshot Nexus Repository - http://13.233.86.205:8081/repository/flipkart-snapshot/ + http://13.233.208.197:8081/repository/flipkart-snapshot/ From 8acf31769bc5600e3bea29586a21efeae2e803db Mon Sep 17 00:00:00 2001 From: Mithun Technologies Date: Wed, 22 Jan 2020 09:41:11 +0530 Subject: [PATCH 08/21] 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 1d93d9f..17bd5ca 100644 --- a/src/main/webapp/jsps/home.jsp +++ b/src/main/webapp/jsps/home.jsp @@ -10,7 +10,7 @@

Welcome to Mithun Technologies.

-

Very Good Training center for DevOps with AWS in Maratha Halli and also for Job Assitance Job Support also...Teaching Real Time scnerios and use cases...

+

We have new Batch demo on 25th at 9 AM IST......Very Good Training center for DevOps with AWS in Maratha Halli and also for Job Assitance Job Support also...Teaching Real Time scnerios and use cases...


From 986111be83fe43346656d53af08309bb3e0777bb Mon Sep 17 00:00:00 2001 From: Mithun Technologies Date: Thu, 23 Jan 2020 09:17:23 +0530 Subject: [PATCH 09/21] Update pom.xml --- pom.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pom.xml b/pom.xml index 9e59a5e..c08f613 100644 --- a/pom.xml +++ b/pom.xml @@ -21,7 +21,7 @@ 5.1.2.RELEASE 4.11 1.2.17 - http://13.235.23.166:9000/ + http://15.206.159.81:9000/ 909d10f38373cd3ad976753a526f5346de8d7a8e @@ -99,13 +99,13 @@ nexus Mithun Technologies Releases Nexus Repository - http://13.233.208.197:8081/repository/flipkart-relases/ + http://13.233.4.158:8081/repository/flipkart-relases/ nexus Mithun Technologies Snapshot Nexus Repository - http://13.233.208.197:8081/repository/flipkart-snapshot/ + http://13.233.4.158:8081/repository/flipkart-snapshot/ From 9b1afc819c57b62464e57ca0dc78dbf96a64d1d3 Mon Sep 17 00:00:00 2001 From: Mithun Technologies Date: Thu, 23 Jan 2020 21:49:21 +0530 Subject: [PATCH 10/21] Update pom.xml --- pom.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pom.xml b/pom.xml index c08f613..d156ed9 100644 --- a/pom.xml +++ b/pom.xml @@ -21,7 +21,7 @@ 5.1.2.RELEASE 4.11 1.2.17 - http://15.206.159.81:9000/ + http://13.235.2.221:9000/ 909d10f38373cd3ad976753a526f5346de8d7a8e @@ -99,13 +99,13 @@ nexus Mithun Technologies Releases Nexus Repository - http://13.233.4.158:8081/repository/flipkart-relases/ + http://13.234.115.148:8081/repository/flipkart-relases/ nexus Mithun Technologies Snapshot Nexus Repository - http://13.233.4.158:8081/repository/flipkart-snapshot/ + http://13.234.115.148:8081/repository/flipkart-snapshot/ From dd395972ac4cf6be92295aa657b230359526a7c1 Mon Sep 17 00:00:00 2001 From: Mithun Technologies Date: Thu, 23 Jan 2020 22:09:55 +0530 Subject: [PATCH 11/21] 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 17bd5ca..4bc56d9 100644 --- a/src/main/webapp/jsps/home.jsp +++ b/src/main/webapp/jsps/home.jsp @@ -10,7 +10,7 @@

Welcome to Mithun Technologies.

-

We have new Batch demo on 25th at 9 AM IST......Very Good Training center for DevOps with AWS in Maratha Halli and also for Job Assitance Job Support also...Teaching Real Time scnerios and use cases...

+

We have new Batch demo on 25th Jan 2020 at 9 AM IST......Very Good Training center for DevOps with AWS in Maratha Halli and also for Job Assitance Job Support also...Teaching Real Time scnerios and use cases...


From 7cb7bff29d73c43413081bb8b8d50564785070d2 Mon Sep 17 00:00:00 2001 From: Mithun Technologies Date: Mon, 27 Jan 2020 09:59:33 +0530 Subject: [PATCH 12/21] Update pom.xml --- pom.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pom.xml b/pom.xml index d156ed9..1cd6c67 100644 --- a/pom.xml +++ b/pom.xml @@ -21,7 +21,7 @@ 5.1.2.RELEASE 4.11 1.2.17 - http://13.235.2.221:9000/ + http://13.232.75.30:9000/ 909d10f38373cd3ad976753a526f5346de8d7a8e @@ -99,13 +99,13 @@ nexus Mithun Technologies Releases Nexus Repository - http://13.234.115.148:8081/repository/flipkart-relases/ + http://35.154.77.200:8081/repository/flipkart-relases/ nexus Mithun Technologies Snapshot Nexus Repository - http://13.234.115.148:8081/repository/flipkart-snapshot/ + http://35.154.77.200:8081/repository/flipkart-snapshot/ From c84f26dae57cb75b1515522b46d836361121a56e Mon Sep 17 00:00:00 2001 From: Mithun Technologies Date: Mon, 27 Jan 2020 10:02:39 +0530 Subject: [PATCH 13/21] Update pom.xml --- pom.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pom.xml b/pom.xml index 1cd6c67..f248000 100644 --- a/pom.xml +++ b/pom.xml @@ -22,9 +22,9 @@ 4.11 1.2.17 http://13.232.75.30:9000/ - 909d10f38373cd3ad976753a526f5346de8d7a8e - + + admin + admin UTF-8 UTF-8 From 8fbfaefa6377dd4147f13ef0420c3aca0a402d0e Mon Sep 17 00:00:00 2001 From: sandeepgit0218 <88018027+sandeepgit0218@users.noreply.github.com> Date: Thu, 21 Oct 2021 16:05:55 +0530 Subject: [PATCH 14/21] Update pom.xml --- pom.xml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/pom.xml b/pom.xml index f248000..d286da2 100644 --- a/pom.xml +++ b/pom.xml @@ -21,14 +21,16 @@ 5.1.2.RELEASE 4.11 1.2.17 - http://13.232.75.30:9000/ + sandeepgit0218 + https://sonarcloud.io - admin - admin + SONAR_TOKEN + bd351310260cd34dd108d7463263e6ce44caf667 UTF-8 UTF-8 + From aa468eab77e9693e67fd68c4db8776e01f651c61 Mon Sep 17 00:00:00 2001 From: sandeepgit0218 <88018027+sandeepgit0218@users.noreply.github.com> Date: Thu, 21 Oct 2021 16:15:09 +0530 Subject: [PATCH 15/21] Update pom.xml --- pom.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index d286da2..963eaec 100644 --- a/pom.xml +++ b/pom.xml @@ -24,8 +24,8 @@ sandeepgit0218 https://sonarcloud.io - SONAR_TOKEN - bd351310260cd34dd108d7463263e6ce44caf667 + admin + admin UTF-8 UTF-8 From c1971121041ea68e3a1101dcf656b80803070560 Mon Sep 17 00:00:00 2001 From: sandeepgit0218 <88018027+sandeepgit0218@users.noreply.github.com> Date: Thu, 21 Oct 2021 16:17:32 +0530 Subject: [PATCH 16/21] Update pom.xml --- pom.xml | 1 - 1 file changed, 1 deletion(-) diff --git a/pom.xml b/pom.xml index 963eaec..cf995e4 100644 --- a/pom.xml +++ b/pom.xml @@ -21,7 +21,6 @@ 5.1.2.RELEASE 4.11 1.2.17 - sandeepgit0218 https://sonarcloud.io admin From cee6bad61372691859bea27ee908574cb86ea36f Mon Sep 17 00:00:00 2001 From: sandeepgit0218 <88018027+sandeepgit0218@users.noreply.github.com> Date: Thu, 21 Oct 2021 17:02:00 +0530 Subject: [PATCH 17/21] Update pom.xml --- pom.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index cf995e4..ed11526 100644 --- a/pom.xml +++ b/pom.xml @@ -20,7 +20,8 @@ 1.8 5.1.2.RELEASE 4.11 - 1.2.17 + 1.2.17 + sandeepgit0218 https://sonarcloud.io admin From 9f6d62411f420fdd668e3c0176d74abcbae146f4 Mon Sep 17 00:00:00 2001 From: sandeepgit0218 <88018027+sandeepgit0218@users.noreply.github.com> Date: Thu, 21 Oct 2021 17:35:34 +0530 Subject: [PATCH 18/21] Update pom.xml --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index ed11526..ca1d1bc 100644 --- a/pom.xml +++ b/pom.xml @@ -23,7 +23,7 @@ 1.2.17 sandeepgit0218 https://sonarcloud.io - + admin admin UTF-8 From b6a11d415d0a136b643f225ef2ac46e467ca77b4 Mon Sep 17 00:00:00 2001 From: sandeepgit0218 <88018027+sandeepgit0218@users.noreply.github.com> Date: Thu, 21 Oct 2021 17:39:27 +0530 Subject: [PATCH 19/21] Update pom.xml --- pom.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index ca1d1bc..d7f375f 100644 --- a/pom.xml +++ b/pom.xml @@ -24,8 +24,8 @@ sandeepgit0218 https://sonarcloud.io - admin - admin + + bd351310260cd34dd108d7463263e6ce44caf667 UTF-8 UTF-8 From f8f016abde301e4eab7c6633222ba7f0b50d94e0 Mon Sep 17 00:00:00 2001 From: sandeepgit0218 <88018027+sandeepgit0218@users.noreply.github.com> Date: Thu, 21 Oct 2021 17:41:27 +0530 Subject: [PATCH 20/21] Update pom.xml --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index d7f375f..b9fb114 100644 --- a/pom.xml +++ b/pom.xml @@ -24,7 +24,7 @@ sandeepgit0218 https://sonarcloud.io - + SONAR_TOKEN> bd351310260cd34dd108d7463263e6ce44caf667 UTF-8 UTF-8 From 3778d2caf4dc94ded76809bbb4dbe949d8ef80f3 Mon Sep 17 00:00:00 2001 From: sandeepgit0218 <88018027+sandeepgit0218@users.noreply.github.com> Date: Thu, 21 Oct 2021 18:13:49 +0530 Subject: [PATCH 21/21] Update pom.xml --- pom.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index b9fb114..ca1d1bc 100644 --- a/pom.xml +++ b/pom.xml @@ -24,8 +24,8 @@ sandeepgit0218 https://sonarcloud.io - SONAR_TOKEN> - bd351310260cd34dd108d7463263e6ce44caf667 + admin + admin UTF-8 UTF-8