changeset 9733:93b9034613bc 3.2.x

Skip tests in docker build
author Tom Gottfried <tom@intevation.de>
date Fri, 22 Jul 2022 13:07:07 +0200 (2022-07-22)
parents a6c6bba0fc4b
children 95496d21b4da
files docker/Dockerfile.artifacts
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/docker/Dockerfile.artifacts	Fri Jul 22 12:57:11 2022 +0200
+++ b/docker/Dockerfile.artifacts	Fri Jul 22 13:07:07 2022 +0200
@@ -24,12 +24,12 @@
 RUN hg clone -b $BRANCH $REPO_URL/framework
 RUN hg clone -b $BRANCH $REPO_URL/http-client
 
-RUN mvn -q -f framework/pom.xml install
-RUN mvn -q -f http-client/pom.xml install
+RUN mvn -q -DskipTests -f framework/pom.xml install
+RUN mvn -q -DskipTests -f http-client/pom.xml install
 
 ADD . river
 
-RUN mvn -q -f river/backend/pom.xml install
+RUN mvn -q -DskipTests -f river/backend/pom.xml install
 
 WORKDIR river/artifacts
 
@@ -41,7 +41,7 @@
 RUN ../../framework/artifact-database/bin/createArtifacts.sh
 RUN ./bin/createDatacage.sh
 
-RUN mvn -q package assembly:single
+RUN mvn -q -DskipTests package assembly:single
 
 EXPOSE 8181
 

http://dive4elements.wald.intevation.org