diff --git a/Dockerfile b/Dockerfile index 473c23c760..5ff990a08f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,2 +1,3 @@ FROM tomcat:9.0-jdk11 + COPY target/maven-web-application.war /usr/local/tomcat/webapps/maven-web-application.war \ No newline at end of file diff --git a/Jenkinsfile b/Jenkinsfile index a264b82a31..728792e331 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -4,7 +4,6 @@ agent any tools{ maven 'maven3.8.2' - } triggers{ @@ -16,6 +15,8 @@ timestamps() buildDiscarder(logRotator(artifactDaysToKeepStr: '', artifactNumToKeepStr: '5', daysToKeepStr: '', numToKeepStr: '5')) } + +## stages{ stage('CheckOutCode'){ diff --git a/README.md b/README.md new file mode 100644 index 0000000000..825831d697 --- /dev/null +++ b/README.md @@ -0,0 +1,2 @@ +addded file +testting \ No newline at end of file diff --git a/docker-compose.yml b/docker-compose.yml index d58b32aab8..799370f910 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,4 +1,4 @@ -version: '3.1' +version: '3.2' services: springboot: image: dockerhandson/maven-web-application:VERSION diff --git a/pom.xml b/pom.xml index cfc5be39ad..87b2eff0cb 100644 --- a/pom.xml +++ b/pom.xml @@ -6,6 +6,7 @@ maven-web-application war 0.0.1-SNAPSHOT + maven-web-application diff --git a/target/classes/com/mt/services/EmployeeService.class b/target/classes/com/mt/services/EmployeeService.class new file mode 100644 index 0000000000..bd7b4db3ed Binary files /dev/null and b/target/classes/com/mt/services/EmployeeService.class differ