Skip to content

Commit

Permalink
build_images: removed Maven dowloading messages
Browse files Browse the repository at this point in the history
  • Loading branch information
anbo-de committed Jan 3, 2024
1 parent e87b374 commit c2c59e7
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions service_config/build_images.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit c2c59e7

Please sign in to comment.