From 42b1744d10c57cfaedb5e6b57cc7bbd61c0b1ffb Mon Sep 17 00:00:00 2001 From: rschoene <rene.schoene@tu-dresden.de> Date: Mon, 4 May 2020 14:00:42 +0200 Subject: [PATCH] Attempting to fix submodule checkout. - according to https://gitlab.com/gitlab-org/gitlab-runner/-/issues/3011#note_150604513 this might help --- .gitlab-ci.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 1a57b53..786ab08 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,5 +1,5 @@ variables: - GIT_SUBMODULE_STRATEGY: recursive + GIT_SUBMODULE_STRATEGY: none stages: - build @@ -7,5 +7,8 @@ stages: test: image: openjdk:8 stage: build + before_script: + - git submodule sync --recursive + - git submodule update --force --recursive script: - ./gradlew --no-daemon build -- GitLab