Commit 9f8d50ce authored by Philip Makedonski's avatar Philip Makedonski
Browse files

* trying again with cache after cleanup

parent 46ef327a
Loading
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -152,14 +152,15 @@ build-job: # This job runs in the build stage, which runs first.
    # - apt-cache gencaches
    # - apt install -y zip unzip
    # - zip --help
    # echo "Cleaning caches"
    # - rm -rf $CI_PROJECT_DIR/.m2/*
    # - ls $CI_PROJECT_DIR/.m2/repository
    - echo "Compiling the code..."
    - top -b -n 1 -e m
    - echo "BUILD_JOB_ID=$CI_JOB_ID" >> build.env
    - cat build.env
    - rm -rf $CI_PROJECT_DIR/.m2/*
    - cd org.etsi.mts.tdl.parent
    - mvn $MAVEN_CLI_OPTS clean install
    - ls $CI_PROJECT_DIR/.m2/repository
    - echo "Compile complete."
  artifacts:
    expire_in: 7 days