compile and test as seperate step

This commit is contained in:
Maharshi Patel 2021-01-10 10:33:56 -08:00
parent 8217d69908
commit 422ea1dadb

View file

@ -6,8 +6,10 @@ RUN mvn dependency:go-offline
COPY . ./
RUN echo "START: Running Tests"
RUN ./mvnw compile
RUN ./mvnw test
RUN echo "END: Tests completed "
RUN ./mvnw generate-resources
RUN ./mvnw package
FROM openjdk:8-jre-alpine