Commit 273f02c0 authored by Kostis Trantzas's avatar Kostis 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
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
.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:
+1 −1
Original line number Diff line number Diff line
.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:
+1 −1
Original line number Diff line number Diff line
@@ -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
}