mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-22 15:25:49 +00:00
compile and test as seperate step
This commit is contained in:
parent
8217d69908
commit
422ea1dadb
1 changed files with 2 additions and 0 deletions
|
@ -6,8 +6,10 @@ RUN mvn dependency:go-offline
|
||||||
|
|
||||||
COPY . ./
|
COPY . ./
|
||||||
RUN echo "START: Running Tests"
|
RUN echo "START: Running Tests"
|
||||||
|
RUN ./mvnw compile
|
||||||
RUN ./mvnw test
|
RUN ./mvnw test
|
||||||
RUN echo "END: Tests completed "
|
RUN echo "END: Tests completed "
|
||||||
|
RUN ./mvnw generate-resources
|
||||||
RUN ./mvnw package
|
RUN ./mvnw package
|
||||||
|
|
||||||
FROM openjdk:8-jre-alpine
|
FROM openjdk:8-jre-alpine
|
||||||
|
|
Loading…
Reference in a new issue