commit | 801fa52dd67f57fd780cc036df272ab5207d799d | [log] [tgz] |
---|---|---|
author | Matthias Benkard <code@mulk.eu> | Sun Jan 08 16:47:14 2023 +0000 |
committer | Matthias Benkard <code@mulk.eu> | Sun Jan 08 16:47:14 2023 +0000 |
tree | 9f97838ef4b732ee8209a9fb763b09b8bbce20fe | |
parent | 1d3c84b0ef302ff3a0e2cf5e4b172176d42fd9e6 [diff] |
GitLab CI: Define cache, Maven options. Part-of: <https://gitlab.benkard.de/mulk/jgvariant/-/merge_requests/19>
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a478c90..3f0dba2 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml
@@ -11,5 +11,14 @@ sast: stage: check +cache: + key: $CI_JOB_NAME + paths: + - .m2/repository + +variables: + MAVEN_OPTS: "-Dmaven.repo.local=.m2/repository" + MAVEN_CLI_OPTS: "--batch-mode --errors" + include: - template: Security/SAST.gitlab-ci.yml