From 811e2d70b73d14cf8adfddfec5c7db2924396986 Mon Sep 17 00:00:00 2001 From: KRISSBAJO <94151178+KRISSBAJO@users.noreply.github.com> Date: Sun, 27 Feb 2022 22:40:58 -0600 Subject: [PATCH 1/7] Update pom.xml --- pom.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pom.xml b/pom.xml index 240a0c2841..b27c9265c1 100644 --- a/pom.xml +++ b/pom.xml @@ -21,7 +21,7 @@ <spring.version>5.1.2.RELEASE</spring.version> <junit.version>4.11</junit.version> <log4j.version>1.2.17</log4j.version> - <sonar.host.url>http:3.96.196.171:9000/</sonar.host.url> + <sonar.host.url>http:3.12.160.13:9000/</sonar.host.url> <sonar.login>admin</sonar.login> <sonar.password>admin</sonar.password> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> @@ -98,13 +98,13 @@ <repository> <id>nexus</id> <name>Landmark Technologies Releases Nexus Repository</name> - <url>http://35.174.19.3:8081/repository/amazon-release/</url> + <url>http://3.137.163.161:8081/repository/ebay-bts-releases/</url> </repository> <snapshotRepository> <id>nexus</id> <name>Landmark Technologies Snapshot Nexus Repository </name> - <url>http://35.174.19.3:8081/repository/amazon-snapshot/</url> + <url>http://3.137.163.161:8081/repository/ebay-btc-snapshot/</url> </snapshotRepository> </distributionManagement> From 6b1b08657254de2cabc67b1ff013936fc35a0322 Mon Sep 17 00:00:00 2001 From: KRISSBAJO <94151178+KRISSBAJO@users.noreply.github.com> Date: Mon, 28 Feb 2022 14:11:34 -0600 Subject: [PATCH 2/7] Update pom.xml --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index b27c9265c1..b809def438 100644 --- a/pom.xml +++ b/pom.xml @@ -21,7 +21,7 @@ <spring.version>5.1.2.RELEASE</spring.version> <junit.version>4.11</junit.version> <log4j.version>1.2.17</log4j.version> - <sonar.host.url>http:3.12.160.13:9000/</sonar.host.url> + <sonar.host.url>http:3.145.50.43:9000/</sonar.host.url> <sonar.login>admin</sonar.login> <sonar.password>admin</sonar.password> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> From 6b408aff6595aefced09d32a0343f45933592c86 Mon Sep 17 00:00:00 2001 From: KRISSBAJO <94151178+KRISSBAJO@users.noreply.github.com> Date: Mon, 28 Feb 2022 14:26:55 -0600 Subject: [PATCH 3/7] Update pom.xml --- pom.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index b809def438..7eaef35458 100644 --- a/pom.xml +++ b/pom.xml @@ -98,13 +98,13 @@ <repository> <id>nexus</id> <name>Landmark Technologies Releases Nexus Repository</name> - <url>http://3.137.163.161:8081/repository/ebay-bts-releases/</url> + <url>http://18.189.194.122:8081/repository/ebay-bts-releases/</url> </repository> <snapshotRepository> <id>nexus</id> <name>Landmark Technologies Snapshot Nexus Repository </name> - <url>http://3.137.163.161:8081/repository/ebay-btc-snapshot/</url> + <url>http://18.189.194.122:8081/repository/ebay-btc-snapshot/</url> </snapshotRepository> </distributionManagement> From 41c0f7380584d589d8f28543cb58e42349d8af0b Mon Sep 17 00:00:00 2001 From: KRISSBAJO <94151178+KRISSBAJO@users.noreply.github.com> Date: Mon, 28 Feb 2022 22:33:44 -0600 Subject: [PATCH 4/7] Update pom.xml --- pom.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pom.xml b/pom.xml index 7eaef35458..820bda0b12 100644 --- a/pom.xml +++ b/pom.xml @@ -21,7 +21,7 @@ <spring.version>5.1.2.RELEASE</spring.version> <junit.version>4.11</junit.version> <log4j.version>1.2.17</log4j.version> - <sonar.host.url>http:3.145.50.43:9000/</sonar.host.url> + <sonar.host.url>http:13.59.67.97:9000/</sonar.host.url> <sonar.login>admin</sonar.login> <sonar.password>admin</sonar.password> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> @@ -98,13 +98,13 @@ <repository> <id>nexus</id> <name>Landmark Technologies Releases Nexus Repository</name> - <url>http://18.189.194.122:8081/repository/ebay-bts-releases/</url> + <url>http://3.128.201.6:8081/repository/ebay-bts-releases/</url> </repository> <snapshotRepository> <id>nexus</id> <name>Landmark Technologies Snapshot Nexus Repository </name> - <url>http://18.189.194.122:8081/repository/ebay-btc-snapshot/</url> + <url>http://3.128.201.6:8081/repository/ebay-btc-snapshot/ </url> </snapshotRepository> </distributionManagement> From e7d590c0cff561438fe2fd376e9be5af503d37f1 Mon Sep 17 00:00:00 2001 From: KRISSBAJO <94151178+KRISSBAJO@users.noreply.github.com> Date: Mon, 28 Feb 2022 23:36:56 -0600 Subject: [PATCH 5/7] 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..84a13ef200 100644 --- a/src/main/webapp/jsps/home.jsp +++ b/src/main/webapp/jsps/home.jsp @@ -15,7 +15,7 @@ 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. Congratulations!! Welcome to Landmark Technology!! Welcome to your ENVIABLE IT CAREER. - We offer interview preparations and job assitance. + We offer interview preparations,comprehensive trainig and job assitance. The King is in our midst. His name is JESUS. What a wonderful it is. HE IS OUR SUCCESS ACCESS KEY. Thanks for being an ambassador of Landmark Technology. President</h1> <hr> From e8c02c4c2b2d7a50fb9e86e8a2bf3b336a24be97 Mon Sep 17 00:00:00 2001 From: KRISSBAJO <94151178+KRISSBAJO@users.noreply.github.com> Date: Mon, 28 Feb 2022 23:39:30 -0600 Subject: [PATCH 6/7] 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 84a13ef200..47af55103b 100644 --- a/src/main/webapp/jsps/home.jsp +++ b/src/main/webapp/jsps/home.jsp @@ -16,7 +16,7 @@ Over 80% of our students are hired within 6 months of joining Landmark Technology. Congratulations!! Welcome to Landmark Technology!! Welcome to your ENVIABLE IT CAREER. We offer interview preparations,comprehensive trainig and job assitance. - The King is in our midst. His name is JESUS. What a wonderful it is. HE IS OUR SUCCESS ACCESS KEY. + The King is in our midst and His Glory can be seen around us. His name is JESUS. What a wonderful it is. HE IS OUR SUCCESS ACCESS KEY. Thanks for being an ambassador of Landmark Technology. President</h1> <hr> <div style="text-align: center;"> From e49a0c522e8a26c890a733cfff88346112527236 Mon Sep 17 00:00:00 2001 From: KRISSBAJO <94151178+KRISSBAJO@users.noreply.github.com> Date: Tue, 1 Mar 2022 00:01:35 -0600 Subject: [PATCH 7/7] Create Jekinsfile-pipeline --- Jekinsfile-pipeline | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 Jekinsfile-pipeline diff --git a/Jekinsfile-pipeline b/Jekinsfile-pipeline new file mode 100644 index 0000000000..b691a2c148 --- /dev/null +++ b/Jekinsfile-pipeline @@ -0,0 +1,39 @@ +node{ + def mavenHome = tool name: 'maven3.8.2' + + stage('1-Clone') { + git branch: 'development', credentialsId: 'Github_Credential', url: 'https://github.com/jenkinpipe/maven-web-application' + } + stage('2-mavenBuild') { + sh "${mavenHome}/bin/mvn clean package" + } + stage('3-CodeQuality') { + sh "${mavenHome}/bin/mvn sonar:sonar" + } + stage('4-UploadArtifacts') { + sh "${mavenHome}/bin/mvn deploy" + } + stage('5-Deploy-UAT') { + deploy adapters: [tomcat9(credentialsId: 'tomcatomcat', path: '', url: 'http://18.191.158.241:7000//')], contextPath: null, war: 'target/*war' + } + stage('6-EmailNotification') { + emailext body: '''Hello team, + +The Ebay-project + +Christopher Adebajo''', subject: 'Build Status', to: 'Developers' + } + stage('Approval'){ + timeout(time:8, unit: 'HOURS'){ + input message: 'Please verify and Approval' + } + + } + stage('Prod-Deploy'){ + deploy adapters: [tomcat9(credentialsId: 'tomcatomcat', path: '', url: 'http://18.191.158.241:7000//')], contextPath: null, war: 'target/*war' + + + + + } +}