diff --git a/Dockerfile b/Dockerfile index 74a00407b6..a1da627d8d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,3 +1,3 @@ -FROM tomcat:8.0.20-jre8 -# Dummy text to test -COPY target/maven-web-application*.war /usr/local/tomcat/webapps/maven-web-application.war +FROM tomcat:8.0.20-jre8 +COPY target/*.war /usr/local/tomcat/webapps/maven-web-app.war +#DEVOPS diff --git a/jenkinsfile-ebay b/jenkinsfile-ebay new file mode 100644 index 0000000000..589a04ab46 --- /dev/null +++ b/jenkinsfile-ebay @@ -0,0 +1,33 @@ +node { + def mavenHome = tool name: 'maven3.8.2' +stage('1-Clone') { + git credentialsId: '9719d5b4-9f6d-49f8-af05-9eeb319161f4', url: 'https://github.com/engineer120/maven-web-app.git' + } + stage('2-mavenBuild') { + sh "${mavenHome}/bin/mvn clean package" + } + stage('3-CodeQuality') { + sh "${mavenHome}/bin/mvn sonar:sonar" + } + stage('4-UploadArticats') { + sh "${mavenHome}/bin/mvn deploy" + } + stage('5-Deploy-UAT') { + // deploy adapters: [tomcat9(credentialsId: 'tomcats-credential', path: '', url: 'http://172.31.30.176:8080/')], contextPath: null, war: 'target/*war' + + } + stage('6-EmailNotification') { + + emailext body: '''hello everyone +build from ebay pipeline was succefull done by engineer120 +''', subject: 'build status', to: 'developers' + } + stage('Approval'){ + timeout(time:8, unit: 'HOURS' ) { + input message: 'Please verify this project and approve' + } +} +stage('prod-Deploy'){ + // deploy adapters: [tomcat9(credentialsId: 'tomcats-credential', path: '', url: 'http://172.31.30.176:8080/')], contextPath: null, war: 'target/*war' +} +} diff --git a/pom.xml b/pom.xml index 3c18c3bbad..e6f963cbaf 100644 --- a/pom.xml +++ b/pom.xml @@ -21,7 +21,7 @@ 5.1.2.RELEASE 4.11 1.2.17 - http:3.238.135.186:9000/ + http:10.128.0.3:9000/ admin admin UTF-8 @@ -96,14 +96,14 @@ nexus - Landmark Technologies Releases Nexus Repository - http://44.192.81.238:8888/mylandmarktech/repository/boa-release/ + engineer120 Releases Nexus Repository + http://35.224.68.6:8081/repository/fintech-release/ nexus - Landmark Technologies Snapshot Nexus Repository - http://44.192.81.238:8888/mylandmarktech/repository/boa-snapshot/ + engineer120 Nexus Repository + http://35.224.68.6:8081/repository/fintech-snapshot/ diff --git a/src/main/webapp/jsps/home.jsp b/src/main/webapp/jsps/home.jsp index 8a19925368..a5546de4e2 100644 --- a/src/main/webapp/jsps/home.jsp +++ b/src/main/webapp/jsps/home.jsp @@ -11,6 +11,8 @@

Landmark Technologies

Welcome to Landmark Technology. + Landmark is where student get the jobs. + we provide assistance in help desk for new students. Landmark Technology is a an ideal online training platform for DevOps and Cloud Engineers. We offer interview preparations and job assitance. The shout of the King is in our midst. His name is JESUS. HE IS OUR SUCCESS ACCESS KEY