Commit c1e86f69 authored by Alexander Diewald's avatar Alexander Diewald

Always fetch the latest plugin versions from remote

parent a40ed1ce
......@@ -5,10 +5,16 @@ stages:
- test
variables:
GIT_SUBMODULE_STRATEGY: recursive
# recursive should work here, but gitlab-runner does not pull the latest remote
# for submodules: https://gitlab.com/gitlab-org/gitlab-runner/issues/3011
GIT_SUBMODULE_STRATEGY: none
MAVEN_CLI_OPTS: "--batch-mode"
MAVEN_OPTS: "-Dmaven.repo.local=.m2/repository -Dbuild.tooling=true -Dbuild.af3=true -Dbuild.emf=true"
before_script:
- docker login -u gitlab-ci-token -p "$CI_JOB_TOKEN" "$CI_REGISTRY"
cache:
paths:
- .m2/repository/
......@@ -16,6 +22,12 @@ cache:
build:
stage: build
before_script:
- docker login -u gitlab-ci-token -p "$CI_JOB_TOKEN" "$CI_REGISTRY"
# Make Git submodules work
- which git || (apk --no-cache add git)
- git submodule sync --recursive
- git submodule update --remote --recursive
script:
- mvn $MAVEN_CLI_OPTS verify
......
Markdown is supported
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