From a341172b9b6a770c853a65a05e10c965e0168623 Mon Sep 17 00:00:00 2001 From: solomanty <135135251+solomanty@users.noreply.github.com> Date: Thu, 15 Jun 2023 11:51:23 -0500 Subject: [PATCH 01/28] Update pom.xml --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 240a0c2841..23868514ca 100644 --- a/pom.xml +++ b/pom.xml @@ -21,7 +21,7 @@ 5.1.2.RELEASE 4.11 1.2.17 - http:3.96.196.171:9000/ + http:18.207.135.41:9000/ admin admin UTF-8 From 4850f5745509aeb5577e15c7c060bb840391bd56 Mon Sep 17 00:00:00 2001 From: solomanty <135135251+solomanty@users.noreply.github.com> Date: Thu, 15 Jun 2023 12:10:22 -0500 Subject: [PATCH 02/28] Update pom.xml --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 23868514ca..e9c8e6be22 100644 --- a/pom.xml +++ b/pom.xml @@ -21,7 +21,7 @@ 5.1.2.RELEASE 4.11 1.2.17 - http:18.207.135.41:9000/ + http:3.95.244.104:9000/ admin admin UTF-8 From 26be57c35418c06ed72c56001cc790f093a3d368 Mon Sep 17 00:00:00 2001 From: solomanty <135135251+solomanty@users.noreply.github.com> Date: Thu, 15 Jun 2023 13:01:05 -0500 Subject: [PATCH 03/28] Update pom.xml --- pom.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index e9c8e6be22..e678fb9e61 100644 --- a/pom.xml +++ b/pom.xml @@ -98,13 +98,13 @@ nexus Landmark Technologies Releases Nexus Repository - http://35.174.19.3:8081/repository/amazon-release/ + http://18.208.154.158:8081/repository/amazon-release/ nexus Landmark Technologies Snapshot Nexus Repository - http://35.174.19.3:8081/repository/amazon-snapshot/ + http://18.208.154.158:8081/repository/amazon-snapshot/ From 40bb610f1f0ebec01b699d707f89b4940b68f5aa Mon Sep 17 00:00:00 2001 From: solomanty <135135251+solomanty@users.noreply.github.com> Date: Thu, 15 Jun 2023 19:16:01 -0500 Subject: [PATCH 04/28] Update pom.xml --- pom.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index e678fb9e61..8005e2731d 100644 --- a/pom.xml +++ b/pom.xml @@ -98,13 +98,13 @@ nexus Landmark Technologies Releases Nexus Repository - http://18.208.154.158:8081/repository/amazon-release/ + http://18.208.154.158:8081/repository/paypal-releases/ nexus Landmark Technologies Snapshot Nexus Repository - http://18.208.154.158:8081/repository/amazon-snapshot/ + http://18.208.154.158:8081/repository/paypal-snapshots/ From 6557c247263898106438ea5431cae894455ccaec Mon Sep 17 00:00:00 2001 From: solomanty <135135251+solomanty@users.noreply.github.com> Date: Fri, 16 Jun 2023 16:55:46 -0500 Subject: [PATCH 05/28] Update pom.xml --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 8005e2731d..40bb5fc6a6 100644 --- a/pom.xml +++ b/pom.xml @@ -110,7 +110,7 @@ - Landmark + Paypal From ab46d2912e1802fbe0f91d469c4e0895287552d7 Mon Sep 17 00:00:00 2001 From: solomanty <135135251+solomanty@users.noreply.github.com> Date: Fri, 16 Jun 2023 18:17:56 -0500 Subject: [PATCH 06/28] Update pom.xml --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 40bb5fc6a6..4ea89ac2d2 100644 --- a/pom.xml +++ b/pom.xml @@ -110,7 +110,7 @@ - Paypal + Tesla-webapp From 36f82abf0891bfa95295f1800347104f5674047f Mon Sep 17 00:00:00 2001 From: solomanty <135135251+solomanty@users.noreply.github.com> Date: Fri, 16 Jun 2023 19:01:48 -0500 Subject: [PATCH 07/28] 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 d3c9470330..3ba8f4cee0 100644 --- a/src/main/webapp/jsps/home.jsp +++ b/src/main/webapp/jsps/home.jsp @@ -10,7 +10,7 @@

Landmark Technology --> A Metropolitan University Company

-

Welcome to Landmark Technology.......We have a demo on DevOps E Degree with Linux and AWS on Saturday August 5, 2020 at 4pm EST for our new batch. +

Welcome to Landmark Technology.......We have a demo on DevOps E Degree with Linux and AWS on Saturday July 15, 2020 at 4pm EST for our new batch. Landmark Technology is a an ideal online training platform for DevOps and Cloud Infrastructures. Our anointed and extensive teaching approach takes our students with or without any IT Background to become Subject Matter Expect in IT, and DevOps automation. Over 80% of our students are hired within 6 months of joining Landmark Technology. From f897b39ba38f682d91b9f27f7515413cab8a8923 Mon Sep 17 00:00:00 2001 From: solomanty <135135251+solomanty@users.noreply.github.com> Date: Fri, 16 Jun 2023 19:32:12 -0500 Subject: [PATCH 08/28] 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 3ba8f4cee0..8b0ee03d71 100644 --- a/src/main/webapp/jsps/home.jsp +++ b/src/main/webapp/jsps/home.jsp @@ -10,7 +10,7 @@

Landmark Technology --> A Metropolitan University Company

-

Welcome to Landmark Technology.......We have a demo on DevOps E Degree with Linux and AWS on Saturday July 15, 2020 at 4pm EST for our new batch. +

Welcome to Landmark Technology.......We have a demo on DevOps E Degree with Linux and AWS on Saturday July 15, 2023 at 4pm CST for our new batch. Landmark Technology is a an ideal online training platform for DevOps and Cloud Infrastructures. Our anointed and extensive teaching approach takes our students with or without any IT Background to become Subject Matter Expect in IT, and DevOps automation. Over 80% of our students are hired within 6 months of joining Landmark Technology. From 4491948c62387a740718476142e4bf582b52645d Mon Sep 17 00:00:00 2001 From: solomanty <135135251+solomanty@users.noreply.github.com> Date: Fri, 16 Jun 2023 19:52:09 -0500 Subject: [PATCH 09/28] 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 8b0ee03d71..d5ed961f83 100644 --- a/src/main/webapp/jsps/home.jsp +++ b/src/main/webapp/jsps/home.jsp @@ -10,7 +10,7 @@

Landmark Technology --> A Metropolitan University Company

-

Welcome to Landmark Technology.......We have a demo on DevOps E Degree with Linux and AWS on Saturday July 15, 2023 at 4pm CST for our new batch. +

Welcome to Landmark Technology.......We have a demo on DevOps E Degree with Linux and AWS on Saturday July 15, 2023 at 4pm EST for our new batch. Landmark Technology is a an ideal online training platform for DevOps and Cloud Infrastructures. Our anointed and extensive teaching approach takes our students with or without any IT Background to become Subject Matter Expect in IT, and DevOps automation. Over 80% of our students are hired within 6 months of joining Landmark Technology. From dc55b3b655a1812713968b9ad8e7a8d7b1aefc5a Mon Sep 17 00:00:00 2001 From: solomanty <135135251+solomanty@users.noreply.github.com> Date: Mon, 19 Jun 2023 09:31:55 -0500 Subject: [PATCH 10/28] Update pom.xml --- pom.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pom.xml b/pom.xml index 4ea89ac2d2..9aaac82f60 100644 --- a/pom.xml +++ b/pom.xml @@ -21,7 +21,7 @@ 5.1.2.RELEASE 4.11 1.2.17 - http:3.95.244.104:9000/ + http:52.203.90.38:9000/ admin admin UTF-8 @@ -98,13 +98,13 @@ nexus Landmark Technologies Releases Nexus Repository - http://18.208.154.158:8081/repository/paypal-releases/ + http://44.201.154.186:8081/repository/paypal-releases/ nexus Landmark Technologies Snapshot Nexus Repository - http://18.208.154.158:8081/repository/paypal-snapshots/ + http://44.201.154.186:8081/repository/paypal-snapshots/ From c4f404f78c7e3ae3c553ed3f412ef0308c6ed13e Mon Sep 17 00:00:00 2001 From: solomanty <135135251+solomanty@users.noreply.github.com> Date: Mon, 19 Jun 2023 21:09:27 -0500 Subject: [PATCH 11/28] Update pom.xml --- pom.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pom.xml b/pom.xml index 9aaac82f60..1d5870007e 100644 --- a/pom.xml +++ b/pom.xml @@ -21,7 +21,7 @@ 5.1.2.RELEASE 4.11 1.2.17 - http:52.203.90.38:9000/ + http:34.227.150.193:9000/ admin admin UTF-8 @@ -98,13 +98,13 @@ nexus Landmark Technologies Releases Nexus Repository - http://44.201.154.186:8081/repository/paypal-releases/ + http://http://34.205.62.200:8081/repository/paypal-releases/ nexus Landmark Technologies Snapshot Nexus Repository - http://44.201.154.186:8081/repository/paypal-snapshots/ + http://http://34.205.62.200:8081/repository/paypal-snapshots/ From c05707a2b64e4a3dfa447f24a439b6a20c2c9ad8 Mon Sep 17 00:00:00 2001 From: solomanty <135135251+solomanty@users.noreply.github.com> Date: Mon, 19 Jun 2023 21:14:34 -0500 Subject: [PATCH 12/28] Update pom.xml --- pom.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index 1d5870007e..dccb8298d6 100644 --- a/pom.xml +++ b/pom.xml @@ -98,13 +98,13 @@ nexus Landmark Technologies Releases Nexus Repository - http://http://34.205.62.200:8081/repository/paypal-releases/ + http://34.205.62.200:8081/repository/paypal-releases/ nexus Landmark Technologies Snapshot Nexus Repository - http://http://34.205.62.200:8081/repository/paypal-snapshots/ + http://34.205.62.200:8081/repository/paypal-snapshots/ From ab35057a883e63b15a6c5d6d8c3dd0f643cdc119 Mon Sep 17 00:00:00 2001 From: solomanty <135135251+solomanty@users.noreply.github.com> Date: Tue, 20 Jun 2023 08:51:00 -0500 Subject: [PATCH 13/28] Update pom.xml --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index dccb8298d6..6143fbc36f 100644 --- a/pom.xml +++ b/pom.xml @@ -103,7 +103,7 @@ nexus - Landmark Technologies Snapshot Nexus Repository + Landmark Technologies Snapshot Nexus Repository http://34.205.62.200:8081/repository/paypal-snapshots/ From aba9501a3037cbc5c51bcaa861c97e5b4e957532 Mon Sep 17 00:00:00 2001 From: solomanty <135135251+solomanty@users.noreply.github.com> Date: Tue, 20 Jun 2023 09:05:29 -0500 Subject: [PATCH 14/28] Update pom.xml --- pom.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index 6143fbc36f..9a0ea47c4a 100644 --- a/pom.xml +++ b/pom.xml @@ -98,13 +98,13 @@ nexus Landmark Technologies Releases Nexus Repository - http://34.205.62.200:8081/repository/paypal-releases/ + http://34.205.62.200:8081/repository/Toyota-releases/ nexus Landmark Technologies Snapshot Nexus Repository - http://34.205.62.200:8081/repository/paypal-snapshots/ + http://34.205.62.200:8081/repository/Toyota-snapshots/ From c6a3ad5b7336c417d943075ee059e4c3ed33af52 Mon Sep 17 00:00:00 2001 From: solomanty <135135251+solomanty@users.noreply.github.com> Date: Tue, 20 Jun 2023 09:16:49 -0500 Subject: [PATCH 15/28] Update pom.xml --- pom.xml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/pom.xml b/pom.xml index 9a0ea47c4a..69aa51290b 100644 --- a/pom.xml +++ b/pom.xml @@ -101,11 +101,7 @@ http://34.205.62.200:8081/repository/Toyota-releases/ - - nexus - Landmark Technologies Snapshot Nexus Repository - http://34.205.62.200:8081/repository/Toyota-snapshots/ - + From b5ea6821aa72fa21bbecdf32041075ff834f7d9f Mon Sep 17 00:00:00 2001 From: solomanty <135135251+solomanty@users.noreply.github.com> Date: Tue, 20 Jun 2023 09:19:33 -0500 Subject: [PATCH 16/28] Update pom.xml --- pom.xml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/pom.xml b/pom.xml index 69aa51290b..524a754bba 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ com.mt maven-web-application war - 0.0.1-SNAPSHOT + 0.0.2-SNAPSHOT maven-web-application @@ -100,8 +100,13 @@ Landmark Technologies Releases Nexus Repository http://34.205.62.200:8081/repository/Toyota-releases/ - - + + + + nexus + Landmark Technologies Snapshot Nexus Repository + http://34.205.62.200:8081/repository/Toyota-snapshots/ + From 904a8deb47c6da1cd0a8b1223964e4d9c669b1fb Mon Sep 17 00:00:00 2001 From: solomanty <135135251+solomanty@users.noreply.github.com> Date: Tue, 20 Jun 2023 09:53:37 -0500 Subject: [PATCH 17/28] Update pom.xml --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 524a754bba..20a044e057 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ com.mt maven-web-application war - 0.0.2-SNAPSHOT + 0.0.2 maven-web-application From a352bbef7c968e2e073a4fcc7d4e85f7dbb0a99c Mon Sep 17 00:00:00 2001 From: solomanty <135135251+solomanty@users.noreply.github.com> Date: Tue, 20 Jun 2023 09:55:56 -0500 Subject: [PATCH 18/28] Update pom.xml --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 20a044e057..524a754bba 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ com.mt maven-web-application war - 0.0.2 + 0.0.2-SNAPSHOT maven-web-application From 9846bd63df71627392f54bf9ef641692977d16bf Mon Sep 17 00:00:00 2001 From: solomanty <135135251+solomanty@users.noreply.github.com> Date: Tue, 20 Jun 2023 10:01:55 -0500 Subject: [PATCH 19/28] Update pom.xml --- pom.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index 524a754bba..fde3f6804a 100644 --- a/pom.xml +++ b/pom.xml @@ -98,14 +98,14 @@ nexus Landmark Technologies Releases Nexus Repository - http://34.205.62.200:8081/repository/Toyota-releases/ + http://34.205.62.200:8081/repository/Boss-releases/ nexus Landmark Technologies Snapshot Nexus Repository - http://34.205.62.200:8081/repository/Toyota-snapshots/ + http://34.205.62.200:8081/repository/Boss-snapshots/ From f57913f5b9f64e9ba3cafb7fa710984fb87c0b0d Mon Sep 17 00:00:00 2001 From: solomanty <135135251+solomanty@users.noreply.github.com> Date: Tue, 20 Jun 2023 10:04:01 -0500 Subject: [PATCH 20/28] Update pom.xml --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index fde3f6804a..cb928be7f3 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ com.mt maven-web-application war - 0.0.2-SNAPSHOT + 0.0.3-SNAPSHOT maven-web-application From 7406db85b325f888fa26906372756066fa6d97bc Mon Sep 17 00:00:00 2001 From: solomanty <135135251+solomanty@users.noreply.github.com> Date: Tue, 20 Jun 2023 11:42:38 -0500 Subject: [PATCH 21/28] Update pom.xml --- pom.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index cb928be7f3..93cdd7fd0a 100644 --- a/pom.xml +++ b/pom.xml @@ -98,14 +98,14 @@ nexus Landmark Technologies Releases Nexus Repository - http://34.205.62.200:8081/repository/Boss-releases/ + http://34.205.62.200:8081/repository/tesla-releases/ nexus Landmark Technologies Snapshot Nexus Repository - http://34.205.62.200:8081/repository/Boss-snapshots/ + http://34.205.62.200:8081/repository/tesla-snapshots/ From b734d25d7136afa870ec80ed64fb1be9416cd296 Mon Sep 17 00:00:00 2001 From: solomanty <135135251+solomanty@users.noreply.github.com> Date: Fri, 23 Jun 2023 17:29:36 -0500 Subject: [PATCH 22/28] Update pom.xml --- pom.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pom.xml b/pom.xml index 93cdd7fd0a..314c79f1c2 100644 --- a/pom.xml +++ b/pom.xml @@ -21,7 +21,7 @@ 5.1.2.RELEASE 4.11 1.2.17 - http:34.227.150.193:9000/ + http:54.173.84.32:9000/ admin admin UTF-8 @@ -98,14 +98,14 @@ nexus Landmark Technologies Releases Nexus Repository - http://34.205.62.200:8081/repository/tesla-releases/ + http://3.82.195.102:8081/repository/tesla-releases/ nexus Landmark Technologies Snapshot Nexus Repository - http://34.205.62.200:8081/repository/tesla-snapshots/ + http://3.82.195.102:8081/repository/tesla-snapshots/ From 2faa513e99bb4b12602a989443e1dfdcf7bc0e82 Mon Sep 17 00:00:00 2001 From: solomanty <135135251+solomanty@users.noreply.github.com> Date: Fri, 23 Jun 2023 17:52:49 -0500 Subject: [PATCH 23/28] Update pom.xml --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 314c79f1c2..4800d1f414 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ com.mt maven-web-application war - 0.0.3-SNAPSHOT + 0.0.3 maven-web-application From 14c8cade1fc476320f381828e007314dffa7e725 Mon Sep 17 00:00:00 2001 From: solomanty <135135251+solomanty@users.noreply.github.com> Date: Fri, 23 Jun 2023 22:37:56 -0500 Subject: [PATCH 24/28] Update pom.xml --- pom.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pom.xml b/pom.xml index 4800d1f414..19405985c5 100644 --- a/pom.xml +++ b/pom.xml @@ -21,7 +21,7 @@ 5.1.2.RELEASE 4.11 1.2.17 - http:54.173.84.32:9000/ + http:3.82.212.168:9000/ admin admin UTF-8 @@ -98,14 +98,14 @@ nexus Landmark Technologies Releases Nexus Repository - http://3.82.195.102:8081/repository/tesla-releases/ + http://54.173.190.16:8081/repository/tesla-releases/ nexus Landmark Technologies Snapshot Nexus Repository - http://3.82.195.102:8081/repository/tesla-snapshots/ + http://54.173.190.16:8081/repository/tesla-snapshots/ From 4d768237c1e5059beaa8e829e5aa61416f7bf720 Mon Sep 17 00:00:00 2001 From: solomanty <135135251+solomanty@users.noreply.github.com> Date: Sat, 24 Jun 2023 10:04:41 -0500 Subject: [PATCH 25/28] Update pom.xml --- pom.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pom.xml b/pom.xml index 19405985c5..84623f063f 100644 --- a/pom.xml +++ b/pom.xml @@ -21,7 +21,7 @@ 5.1.2.RELEASE 4.11 1.2.17 - http:3.82.212.168:9000/ + http:18.206.147.118:9000/ admin admin UTF-8 @@ -98,14 +98,14 @@ nexus Landmark Technologies Releases Nexus Repository - http://54.173.190.16:8081/repository/tesla-releases/ + http://18.212.72.240:8081/repository/tesla-releases/ nexus Landmark Technologies Snapshot Nexus Repository - http://54.173.190.16:8081/repository/tesla-snapshots/ + http://18.212.72.240:8081/repository/tesla-snapshots/ From 5455e440c78918cb017558d096a3e0f41149565b Mon Sep 17 00:00:00 2001 From: solomanty <135135251+solomanty@users.noreply.github.com> Date: Sat, 24 Jun 2023 12:34:30 -0500 Subject: [PATCH 26/28] Update Jenkinsfile --- Jenkinsfile | 84 ++++++++++++++++++++--------------------------------- 1 file changed, 32 insertions(+), 52 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 82d63ae784..e2cd9702fe 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,54 +1,34 @@ -node - { - - def mavenHome = tool name: "maven3.6.2" - - echo "GitHub BranhName ${env.BRANCH_NAME}" - echo "Jenkins Job Number ${env.BUILD_NUMBER}" - echo "Jenkins Node Name ${env.NODE_NAME}" - - echo "Jenkins Home ${env.JENKINS_HOME}" - echo "Jenkins URL ${env.JENKINS_URL}" - echo "JOB Name ${env.JOB_NAME}" - - properties([[$class: 'JiraProjectProperty'], buildDiscarder(logRotator(artifactDaysToKeepStr: '', artifactNumToKeepStr: '2', daysToKeepStr: '', numToKeepStr: '2')), pipelineTriggers([pollSCM('* * * * *')])]) - - stage("CheckOutCodeGit") - { - git branch: 'development', credentialsId: '65fb834f-a83b-4fe7-8e11-686245c47a65', url: 'https://github.com/MithunTechnologiesDevOps/maven-web-application.git' - } - - stage("Build") - { - sh "${mavenHome}/bin/mvn clean package" - } - - /* - stage("ExecuteSonarQubeReport") - { +node{ +def mavenHome = tool name: 'maven3.9.2' +stage('1.clone'){ + //git "https://github.com/solomanty/maven-web-application" + git branch: 'development', url: 'https://github.com/solomanty/maven-web-application' +} +stage('2.test and build'){ + sh "${mavenHome}/bin/mvn package" +} +stage('3.CodeQualityAnalysis'){ sh "${mavenHome}/bin/mvn sonar:sonar" - } - - stage("UploadArtifactsintoNexus") - { - sh "${mavenHome}/bin/mvn deploy" - } - - stage("DeployAppTomcat") - { - sshagent(['423b5b58-c0a3-42aa-af6e-f0affe1bad0c']) { - sh "scp -o StrictHostKeyChecking=no target/maven-web-application.war ec2-user@15.206.91.239:/opt/apache-tomcat-9.0.34/webapps/" - } - } - - stage('EmailNotification') - { - mail bcc: 'devopstrainingblr@gmail.com', body: '''Build is over +} +stage('4.Artifactory'){ + sh "${mavenHome}/bin/mvn deploy"} +stage('5.deploy2UAT'){ +deploy adapters: [tomcat9(credentialsId: 'tomcat-credential', path: '', url: 'http://52.23.203.16:8177/')], contextPath: null, war: 'target/*war' +} +stage('6.approval'){ + sh "echo 'apps ready for review' " + timeout(time:5, unit: 'HOURS') { + input message: 'Application ready for deployment, please review and approve' + } +} +stage('7.production'){ + deploy adapters: [tomcat9(credentialsId: 'tomcat-credential', path: '', url: 'http://52.23.203.16:8177/')], contextPath: null, war: 'target/*war' +} +stage('8.notification'){ + emailext body: '''Hello Team, +Please check the pipeline work done. - Thanks, - Mithun Technologies, - 9980923226.''', cc: 'devopstrainingblr@gmail.com', from: '', replyTo: '', subject: 'Build is over!!', to: 'devopstrainingblr@gmail.com' - } - */ - - } +Solomon Alamutu''', recipientProviders: [buildUser()], subject: 'Build status', to: 'developers' +} +} + From 4afed07aa930a8d098e121eb48a4cf9e4e9fde14 Mon Sep 17 00:00:00 2001 From: solomanty <135135251+solomanty@users.noreply.github.com> Date: Wed, 28 Jun 2023 10:21:10 -0500 Subject: [PATCH 27/28] Update pom.xml --- pom.xml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pom.xml b/pom.xml index 84623f063f..7e8d727ec4 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ com.mt maven-web-application war - 0.0.3 + 0.0.3-SNAPSHOT maven-web-application @@ -21,7 +21,7 @@ 5.1.2.RELEASE 4.11 1.2.17 - http:18.206.147.118:9000/ + http:54.152.58.6:9000/ admin admin UTF-8 @@ -98,14 +98,14 @@ nexus Landmark Technologies Releases Nexus Repository - http://18.212.72.240:8081/repository/tesla-releases/ + http://44.201.230.105:8081/repository/tesla-releases/ nexus Landmark Technologies Snapshot Nexus Repository - http://18.212.72.240:8081/repository/tesla-snapshots/ + http://44.201.230.105:8081/repository/tesla-snapshots/ From 7b0992b17e4fbe181c3b6c4bda10b11fa027945b Mon Sep 17 00:00:00 2001 From: solomanty <135135251+solomanty@users.noreply.github.com> Date: Wed, 28 Jun 2023 10:56:23 -0500 Subject: [PATCH 28/28] Update Jenkinsfile --- Jenkinsfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index e2cd9702fe..79b1a0d71a 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -13,7 +13,7 @@ stage('3.CodeQualityAnalysis'){ stage('4.Artifactory'){ sh "${mavenHome}/bin/mvn deploy"} stage('5.deploy2UAT'){ -deploy adapters: [tomcat9(credentialsId: 'tomcat-credential', path: '', url: 'http://52.23.203.16:8177/')], contextPath: null, war: 'target/*war' +deploy adapters: [tomcat9(credentialsId: 'tomcat-credential', path: '', url: 'http://3.94.146.235:8177/')], contextPath: null, war: 'target/*war' } stage('6.approval'){ sh "echo 'apps ready for review' " @@ -22,7 +22,7 @@ stage('6.approval'){ } } stage('7.production'){ - deploy adapters: [tomcat9(credentialsId: 'tomcat-credential', path: '', url: 'http://52.23.203.16:8177/')], contextPath: null, war: 'target/*war' + deploy adapters: [tomcat9(credentialsId: 'tomcat-credential', path: '', url: 'http://3.94.146.235:8177/')], contextPath: null, war: 'target/*war' } stage('8.notification'){ emailext body: '''Hello Team,