Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

yes #15

Open
wants to merge 70 commits into
base: master
Choose a base branch
from
Open

yes #15

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
70 commits
Select commit Hold shift + click to select a range
21ac913
Update pom.xml
engineer120 Sep 5, 2021
f0d0033
Update pom.xml
engineer120 Sep 6, 2021
3d92bed
Update pom.xml
engineer120 Sep 6, 2021
f63d20c
Update pom.xml
engineer120 Sep 6, 2021
42283a5
Update pom.xml
engineer120 Sep 6, 2021
5c4bbf1
Update pom.xml
engineer120 Sep 6, 2021
93e0d62
Update pom.xml
engineer120 Sep 11, 2021
962c8db
Update pom.xml
engineer120 Sep 11, 2021
8d96a6b
Update pom.xml
engineer120 Sep 11, 2021
0253140
Update pom.xml
engineer120 Sep 11, 2021
6d2f4b8
Update pom.xml
engineer120 Sep 11, 2021
a701121
Update pom.xml
engineer120 Sep 12, 2021
45c878b
Update home.jsp
engineer120 Sep 12, 2021
88dce06
Update home.jsp
engineer120 Sep 12, 2021
3a74587
Update Dockerfile
engineer120 Sep 12, 2021
26e7675
Update Dockerfile
engineer120 Sep 12, 2021
9936944
Update Dockerfile
engineer120 Sep 12, 2021
c41d881
Update Dockerfile
engineer120 Sep 12, 2021
dbe6462
Update Dockerfile
engineer120 Sep 12, 2021
2515126
Update Dockerfile
engineer120 Sep 12, 2021
18111d7
Update Dockerfile
engineer120 Sep 12, 2021
5c09f35
Update Dockerfile
engineer120 Sep 12, 2021
0ae407c
Update Dockerfile
engineer120 Sep 12, 2021
4d2aad8
Update Dockerfile
engineer120 Sep 12, 2021
eb77ece
Update home.jsp
engineer120 Sep 12, 2021
af8980d
Update Dockerfile
engineer120 Sep 12, 2021
3745522
Update home.jsp
engineer120 Sep 12, 2021
285efd5
Update Dockerfile
engineer120 Sep 12, 2021
b126814
Update Dockerfile
engineer120 Sep 12, 2021
bd3e48d
Create jenkins-file-ebay
engineer120 Sep 12, 2021
5abe8ff
Create jenkinsfile-ebay
engineer120 Sep 12, 2021
43fa05a
Delete jenkins-file-ebay
engineer120 Sep 12, 2021
a1b38f1
Update jenkinsfile-ebay
engineer120 Sep 12, 2021
a48db49
Update jenkinsfile-ebay
engineer120 Sep 12, 2021
1e76cf7
Update jenkinsfile-ebay
engineer120 Sep 12, 2021
6e365f0
Update jenkinsfile-ebay
engineer120 Sep 12, 2021
3c5e3f6
Update Dockerfile
engineer120 Sep 17, 2021
f2a9981
Update Dockerfile
engineer120 Sep 17, 2021
111aea0
Update Dockerfile
engineer120 Sep 17, 2021
63d9402
Update Dockerfile
engineer120 Sep 17, 2021
09dddf3
Update jenkinsfile-ebay
engineer120 Sep 17, 2021
6dcc523
Update Dockerfile
engineer120 Sep 19, 2021
f9ac96d
Update jenkinsfile-ebay
engineer120 Sep 19, 2021
4708c7b
Update Dockerfile
engineer120 Sep 19, 2021
acaac9e
Update Dockerfile
engineer120 Sep 19, 2021
54e80ab
Update Dockerfile
engineer120 Sep 19, 2021
904f39c
Update Dockerfile
engineer120 Sep 19, 2021
19a1655
Update Dockerfile
engineer120 Sep 19, 2021
a01d4b5
Update Dockerfile
engineer120 Sep 19, 2021
6d7f370
Update Dockerfile
engineer120 Sep 19, 2021
9448965
Update Dockerfile
engineer120 Sep 19, 2021
25574f5
Update Dockerfile
engineer120 Sep 19, 2021
d9e311f
Update Dockerfile
engineer120 Sep 19, 2021
56a59fd
Update pom.xml
engineer120 Sep 19, 2021
c93b21c
Update pom.xml
engineer120 Sep 20, 2021
2ba7ab0
Update Dockerfile
engineer120 Sep 23, 2021
3e5813f
Update home.jsp
engineer120 Sep 23, 2021
4844418
Update home.jsp
engineer120 Sep 23, 2021
5cd7b73
Update pom.xml
engineer120 Sep 26, 2021
1c3c98b
Update home.jsp
engineer120 Sep 26, 2021
274a637
Update Dockerfile
engineer120 Sep 26, 2021
b6e5bbc
Update pom.xml
engineer120 Apr 15, 2022
00e824d
Update Dockerfile
engineer120 Apr 15, 2022
024949c
Update Dockerfile
engineer120 Apr 15, 2022
c5f5897
Update Dockerfile
engineer120 Apr 15, 2022
405beb9
Update pom.xml
engineer120 Apr 16, 2022
2b4ada3
Update Dockerfile
engineer120 Apr 16, 2022
2057852
Update Dockerfile
engineer120 Apr 16, 2022
2a39827
Update Dockerfile
engineer120 Apr 16, 2022
f0e5c73
Update Dockerfile
engineer120 Apr 16, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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
33 changes: 33 additions & 0 deletions jenkinsfile-ebay
Original file line number Diff line number Diff line change
@@ -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'
}
}
10 changes: 5 additions & 5 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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.238.135.186:9000/</sonar.host.url>
<sonar.host.url>http:10.128.0.3:9000/</sonar.host.url>
<sonar.login>admin</sonar.login>
<sonar.password>admin</sonar.password>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Expand Down Expand Up @@ -96,14 +96,14 @@
<distributionManagement>
<repository>
<id>nexus</id>
<name>Landmark Technologies Releases Nexus Repository</name>
<url>http://44.192.81.238:8888/mylandmarktech/repository/boa-release/</url>
<name>engineer120 Releases Nexus Repository</name>
<url>http://35.224.68.6:8081/repository/fintech-release/</url>
</repository>

<snapshotRepository>
<id>nexus</id>
<name>Landmark Technologies Snapshot Nexus Repository </name>
<url>http://44.192.81.238:8888/mylandmarktech/repository/boa-snapshot/</url>
<name>engineer120 Nexus Repository </name>
<url>http://35.224.68.6:8081/repository/fintech-snapshot/</url>
</snapshotRepository>

</distributionManagement>
Expand Down
2 changes: 2 additions & 0 deletions src/main/webapp/jsps/home.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
<body>
<h1 align="center">Landmark Technologies</h1>
<h2 align="center"> 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</h2>
Expand Down