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' + + + + + } +} diff --git a/pom.xml b/pom.xml index 240a0c2841..820bda0b12 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:13.59.67.97:9000/ admin admin UTF-8 @@ -98,13 +98,13 @@ nexus Landmark Technologies Releases Nexus Repository - http://35.174.19.3:8081/repository/amazon-release/ + http://3.128.201.6:8081/repository/ebay-bts-releases/ nexus Landmark Technologies Snapshot Nexus Repository - http://35.174.19.3:8081/repository/amazon-snapshot/ + http://3.128.201.6:8081/repository/ebay-btc-snapshot/ diff --git a/src/main/webapp/jsps/home.jsp b/src/main/webapp/jsps/home.jsp index d3c9470330..47af55103b 100644 --- a/src/main/webapp/jsps/home.jsp +++ b/src/main/webapp/jsps/home.jsp @@ -15,8 +15,8 @@ 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. - The King is in our midst. His name is JESUS. What a wonderful it is. HE IS OUR SUCCESS ACCESS KEY. + We offer interview preparations,comprehensive trainig and job assitance. + 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