Skip to content
Snippets Groups Projects
Commit a44ed227 authored by trantzas's avatar trantzas
Browse files

Update the maven image that is used in building pipelines (fix for #35)

parent 0ced63f6
No related branches found
No related tags found
3 merge requests!46MR for Release 2024Q4,!42Merge develop into side branch,!38Resolve "Update the maven image that is used in building pipelines"
Pipeline #10114 passed
.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:
......
.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:
......
......@@ -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
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment