Commit 2727c2dd authored by Luke Texon's avatar Luke Texon

Isolated build and test stages

parent 3b1e0d78
Pipeline #113519 passed with stages
in 4 minutes and 3 seconds
......@@ -8,7 +8,4 @@ COPY src /src
COPY system.properties /system.properties
COPY pom.xml /pom.xml
RUN mvn package
ENV PATH /var/lib/ruby/2.5.0/bin:$PATH
CMD ["sh", "target/bin/simplewebapp"]
build:
docker:
web: Dockerfile
run:
web:
command:
- mvn package
- sh target/bin/simplewebapp
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment