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

Netflix v2 #26

Open
wants to merge 31 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
97d504a
Update Jenkinsfile
legah2045 Jun 3, 2021
3a11da6
Update Jenkinsfile
legah2045 Jun 3, 2021
39abd24
Update Jenkinsfile
legah2045 Jun 3, 2021
9036cca
Update pom.xml
donjevas Mar 21, 2022
169c207
Update pom.xml
donjevas Mar 21, 2022
8314fbc
Update pom.xml
donjevas Mar 21, 2022
7ee7bb4
Update pom.xml
donjevas Mar 21, 2022
90855b8
Update pom.xml
donjevas Apr 4, 2022
8a2553a
Update pom.xml
donjevas Apr 4, 2022
221b4a4
Update pom.xml
donjevas Apr 4, 2022
8b7408d
Update pom.xml
donjevas May 24, 2022
d7dc73b
Merge branch 'master' into dev
donjevas May 24, 2022
4b81fdc
Merge pull request #1 from donjevas/dev
donjevas May 24, 2022
d6b541a
Update pom.xml
donjevas May 24, 2022
fd62a1c
Update pom.xml
donjevas May 24, 2022
009af21
Update pom.xml
donjevas May 24, 2022
af3ce27
Merge branch 'dev' into stage
donjevas May 24, 2022
e8feea6
Merge pull request #2 from donjevas/stage
donjevas May 24, 2022
62f48bd
Merge branch 'master' into dev
forturo2 May 24, 2022
a57cdff
Merge pull request #3 from donjevas/dev
forturo2 May 24, 2022
bf10660
Create tomcat.yml
donjevas Jun 3, 2022
52e4910
Create hosts
donjevas Jun 3, 2022
594bc70
Update tomcat.yml
donjevas Jun 3, 2022
4291745
Update tomcat.yml
donjevas Jun 3, 2022
607e926
Update tomcat.yml
donjevas Jun 3, 2022
b76f79a
Update tomcat.yml
donjevas Jun 3, 2022
709f9b4
Update tomcat.yml
donjevas Jun 3, 2022
3351079
Update tomcat.yml
donjevas Jun 3, 2022
e45632b
Update hosts
donjevas Dec 2, 2022
ecfb74a
Update hosts
donjevas Dec 2, 2022
52cd271
Update hosts ip
donjevas Dec 15, 2023
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
8 changes: 7 additions & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,13 @@ node{
stage('mavenBuild') {
sh "${mavenHome}/bin/mvn clean package"
}
/*

// multi line comment in groovy script
/*
Multi branch jenkins job
*/
/*

stage('CodeQuality') {
sh "${mavenHome}/bin/mvn sonar:sonar"
// execute the CodeQuality report with sonar
Expand Down
2 changes: 2 additions & 0 deletions hosts
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[tomcat]
9.9.23.9.234
12 changes: 7 additions & 5 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<groupId>com.mt</groupId>
<artifactId>maven-web-application</artifactId>
<packaging>war</packaging>
<version>0.0.1-SNAPSHOT</version>
<version>1.1.1-SNAPSHOT</version>

<name>maven-web-application</name>

Expand All @@ -21,8 +21,10 @@
<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.login>admin</sonar.login>
<sonar.host.url>http:3.238.135.186:6000/</sonar.host.url>
<sonar.host.url>http://172.31.82.116:7000//</sonar.host.url>

<sonar.login>admin</sonar.login>
<sonar.password>admin</sonar.password>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
Expand Down Expand Up @@ -97,13 +99,13 @@
<repository>
<id>nexus</id>
<name>Landmark Technologies Releases Nexus Repository</name>
<url> http://44.192.81.238:8888/mylandmarktech/repository/ebay-java-app-releases/</url>
<url>http://44.201.211.49:8081/repository/TD_release/</url>
</repository>

<snapshotRepository>
<id>nexus</id>
<name>Landmark Technologies Snapshot Nexus Repository </name>
<url>http://44.192.81.238:8888/mylandmarktech/repository/ebay-java-app-snapshot/</url>
<url>http://44.201.211.49:8081/repository/TD_snapshot/</url>
</snapshotRepository>

</distributionManagement>
Expand Down
5 changes: 5 additions & 0 deletions tomcat.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
hosts: tomcat
task:
- name: copy artifact to tomcat server
copy: src=/var/lib/jenkins/workspace/jen-ans-tom/target/*.war dest=dest: /opt/tomcat9/webapps/