Commit 22eaad86 authored by David Diederich's avatar David Diederich
Browse files

Adding cache path directly ($MAVEN_REPO_PATH no longer exists)

parent 9e7fc680
......@@ -10,7 +10,7 @@ include:
tags: ['docker-runner']
cache:
paths:
- $MAVEN_REPO_PATH
- $CI_PROJECT_DIR/.m2/repository
variables:
MAVEN_CLI_OPTS: "--batch-mode --settings=$CI_PROJECT_DIR/.mvn/community-maven.settings.xml -DskipTests=true"
......@@ -19,11 +19,12 @@ include:
before_script:
- mkdir -p ~/.m2/repository
- cp -R .m2/repository/ ~/.m2/repository/
- rm -rf .m2/repository
- cp -R $CI_PROJECT_DIR/.m2/repository/ ~/.m2/repository/
- rm -rf $CI_PROJECT_DIR/.m2/repository
after_script:
- cp -R ~/.m2/repository/ .m2/repository/
- mkdir -p $CI_PROJECT_DIR/.m2/repository
- cp -R ~/.m2/repository/ $CI_PROJECT_DIR/.m2/repository/
# --------------------------------------------------------------------------------
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment