diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index fc7c7ad8f4b1bb23fad47a076fd4272f5df62525..cc99ae4178457f7791dd662e85d532787615c174 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -90,7 +90,7 @@ variables: # for verifying and deploying images # Maven 3.8.x REQUIRES HTTPS repositories. # See https://maven.apache.org/docs/3.8.1/release-notes.html#how-to-fix-when-i-get-a-http-repository-blocked for more. -image: maven:3-openjdk-17 +image: maven:3.9.5-eclipse-temurin-17 # Cache downloaded dependencies and plugins between builds. # To keep cache across branches add 'key: "$CI_JOB_NAME"' @@ -149,8 +149,8 @@ build-job: # This job runs in the build stage, which runs first. # - rm -rf /var/lib/apt/lists/* # - apt update # - apt-cache gencaches - # - apt install -y zip unzip - # - zip --help + - apt install -y zip unzip + - zip --help - echo "Compiling the code..." - echo "BUILD_JOB_ID=$CI_JOB_ID" >> build.env - cat build.env @@ -237,9 +237,9 @@ pages: script: # Get the previous GitLab Pages content (otherwise other beta/stable branch gets removed..) # - rm -rf /var/lib/apt/lists/* - - apk update - #- apt-cache gencaches - - apt add zip + # - apt update + # - apt-cache gencaches + - apt install -y zip unzip - zip --help - set +e - curl --fail "$CI_PAGES_URL/content.zip" -o "content.zip"