From c2c59e7456b3c2e3811ba17e70afea0036d91dae Mon Sep 17 00:00:00 2001 From: anbo-de Date: Wed, 3 Jan 2024 15:30:46 +0100 Subject: [PATCH] build_images: removed Maven dowloading messages --- service_config/build_images.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/service_config/build_images.sh b/service_config/build_images.sh index 2db40cc4..f1729e74 100755 --- a/service_config/build_images.sh +++ b/service_config/build_images.sh @@ -5,7 +5,7 @@ git clone https://github.com/WDAqua/Qanary.git # subshell building the Qanary pipeline ( cd Qanary/ -mvn clean install -Ddockerfile.skip=true -DskipTests +mvn --batch-mode clean install -Ddockerfile.skip=true -DskipTests ) # delete Qanary pipeline repository @@ -83,9 +83,10 @@ fi # build Docker Images and store name and tag -if ! mvn clean package -DskipTests; +if ! mvn --batch-mode clean package -DskipTests; then - exit 1 + echo "Maven build failed" + exit 4 # stop if maven build fails fi docker image ls | grep -oP "^qanary/qanary-component.*\.[0-9] " > images.temp