From a44ed227b852a5d90802e47fbb2b58dd2944737a Mon Sep 17 00:00:00 2001 From: Kostis Trantzas Date: Wed, 20 Nov 2024 17:18:53 +0200 Subject: [PATCH] Update the maven image that is used in building pipelines (fix for #35) --- ci-templates/build.yml | 2 +- ci-templates/build_unprotected.yml | 2 +- compose/deploy.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ci-templates/build.yml b/ci-templates/build.yml index 9a9ba16..25b110b 100644 --- a/ci-templates/build.yml +++ b/ci-templates/build.yml @@ -1,7 +1,7 @@ .maven_build: extends: .default stage: build - image: maven:3.9.5-ibm-semeru-17-focal + image: maven:3.9.9-ibm-semeru-17-focal script: - mvn deploy -s ci_settings.xml -Dversion=$APP_VERSION artifacts: diff --git a/ci-templates/build_unprotected.yml b/ci-templates/build_unprotected.yml index a5c8669..8a597f8 100644 --- a/ci-templates/build_unprotected.yml +++ b/ci-templates/build_unprotected.yml @@ -1,7 +1,7 @@ .maven_build: extends: .default stage: build - image: maven:3.9.5-ibm-semeru-17-focal + image: maven:3.9.9-ibm-semeru-17-focal script: - mvn install -s ci_settings.xml artifacts: diff --git a/compose/deploy.sh b/compose/deploy.sh index 94071cf..d8ac538 100644 --- a/compose/deploy.sh +++ b/compose/deploy.sh @@ -23,7 +23,7 @@ updaterepo(){ # Build maven project if .pom file is present if [ -f "./pom.xml" ]; then - docker run -it --rm -v "/home/ubuntu/.m2":/root/.m2 -v "$(pwd)":/opt/maven -w /opt/maven maven:3.9.5-ibm-semeru-17-focal mvn clean verify -DskipTests + docker run -it --rm -v "/home/ubuntu/.m2":/root/.m2 -v "$(pwd)":/opt/maven -w /opt/maven maven:3.9.9-ibm-semeru-17-focal mvn clean verify -DskipTests fi } -- GitLab