revert compile and test as seperate step

This commit is contained in:
Maharshi Patel 2021-01-10 10:34:49 -08:00
parent 422ea1dadb
commit 396e1675c0

View file

@ -5,11 +5,7 @@ COPY pom.xml ./
RUN mvn dependency:go-offline RUN mvn dependency:go-offline
COPY . ./ COPY . ./
RUN echo "START: Running Tests"
RUN ./mvnw compile
RUN ./mvnw test
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