Commit ce69bca6 authored by David Diederich's avatar David Diederich
Browse files

Create the repository directory, so that runners on a fresh instance don't fail out

parent 36d12049
......@@ -20,7 +20,7 @@ include:
# We need to make sure both directories exist, then we can copy files over
# Since it is a separate volume, mv offers no advantages. tar | tar, plus rm, is the fastest execution
- mkdir -p ~/.m2 $CI_PROJECT_DIR/.m2
- mkdir -p ~/.m2 $CI_PROJECT_DIR/.m2/repository
- tar -cC $CI_PROJECT_DIR/.m2 repository | tar -xC ~/.m2
- rm -rf $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