Commit 827f897c authored by Philip Makedonski's avatar Philip Makedonski
Browse files

+ changed image and rolled back to apt

parent 5f9ddfa4
Loading
Loading
Loading
Loading
Loading
+6 −6
Original line number Diff line number Diff line
@@ -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 update
    # - apt-cache gencaches
    - apt add zip
    - apt install -y zip unzip
    - zip --help
    - set +e
    - curl --fail "$CI_PAGES_URL/content.zip" -o "content.zip"