Commit 37dd9b04 authored by Philip Makedonski's avatar Philip Makedonski
Browse files

* check caches

parent c9969acc
Loading
Loading
Loading
Loading
Loading
+5 −3
Original line number Diff line number Diff line
@@ -97,9 +97,9 @@ image: maven:3.9.6-eclipse-temurin-17
# To keep cache across branches add 'key: "$CI_JOB_NAME"'
# Be aware that `mvn deploy` will install the built jar into this repository. If you notice your cache size
# increasing, consider adding `-Dmaven.install.skip=true` to `MAVEN_OPTS` or in `.mvn/maven.config`
# cache:
#   paths:
#     - .m2/repository
cache:
  paths:
    - .m2/repository

# For merge requests do not `deploy` but only run `verify`.
# See https://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html
@@ -160,6 +160,8 @@ build-job: # This job runs in the build stage, which runs first.
    - ls $CI_PROJECT_DIR/.m2/repository
    - cd org.etsi.mts.tdl.parent
    - mvn $MAVEN_CLI_OPTS clean install
    - ls ~/.m2/repository
    - ls $CI_PROJECT_DIR/.m2/repository
    - echo "Compile complete."
  artifacts:
    expire_in: 7 days