Skip to content

Commit

Permalink
Rewriting omoponfhir main build
Browse files Browse the repository at this point in the history
  • Loading branch information
myungchoi committed Jul 12, 2019
1 parent 6f9be01 commit 4c9875f
Show file tree
Hide file tree
Showing 8 changed files with 17 additions and 163 deletions.
12 changes: 12 additions & 0 deletions .gitmodules
@@ -0,0 +1,12 @@
[submodule "omoponfhir-omopv5-jpabase"]
path = omoponfhir-omopv5-jpabase
url = https://github.com/omoponfhir/omoponfhir-omopv5-jpabase.git
branch = master
[submodule "omoponfhir-omopv5-stu3-mapping"]
path = omoponfhir-omopv5-stu3-mapping
url = https://github.com/omoponfhir/omoponfhir-omopv5-stu3-mapping.git
branch = master
[submodule "omoponfhir-stu3-server"]
path = omoponfhir-stu3-server
url = https://github.com/omoponfhir/omoponfhir-stu3-server.git
branch = master
9 changes: 1 addition & 8 deletions Dockerfile
Expand Up @@ -2,14 +2,7 @@
FROM maven:3.6.1-alpine as builder
COPY . /usr/src/app
WORKDIR /usr/src/app
RUN apk update && apk upgrade && \
apk add --no-cache bash git openssh

RUN git clone https://github.com/omoponfhir/omoponfhir-omopv5-jpabase.git
RUN git clone https://github.com/omoponfhir/omoponfhir-omopv5-stu3-mapping.git
RUN git clone https://github.com/omoponfhir/omoponfhir-stu3-server.git

RUN mvn -f pom-docker.xml clean install
RUN mvn clean install

#Build the Tomcat container
FROM tomcat:alpine
Expand Down
2 changes: 1 addition & 1 deletion Jenkinsfile
Expand Up @@ -18,7 +18,7 @@ pipeline{
//line between the ''' characters will be treated as separate lines of a shell script.

steps{
sh '''mvn -f pom-docker-test.xml test'''
sh '''mvn test'''
}
}

Expand Down
1 change: 1 addition & 0 deletions omoponfhir-omopv5-jpabase
1 change: 1 addition & 0 deletions omoponfhir-omopv5-stu3-mapping
1 change: 1 addition & 0 deletions omoponfhir-stu3-server
Submodule omoponfhir-stu3-server added at 300f95
74 changes: 0 additions & 74 deletions pom-docker-test.xml

This file was deleted.

80 changes: 0 additions & 80 deletions pom-docker.xml

This file was deleted.

0 comments on commit 4c9875f

Please sign in to comment.