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

Merge branch '35-update-the-maven-image-that-is-used-in-building-pipelines' into 'develop'

Resolve "Update the maven image that is used in building pipelines"

See merge request !38
parents 2899bf0b a44ed227
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 #10213 failed
.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