aboutsummaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorMarge Bot <marge@benkard.de>2023-01-08 18:36:27 +0000
committerMarge Bot <marge@benkard.de>2023-01-08 18:36:27 +0000
commitfd6223fb43e1c5e56362c3d5bf2a467dbbd879ea (patch)
tree9f97838ef4b732ee8209a9fb763b09b8bbce20fe /.gitlab-ci.yml
parent1d3c84b0ef302ff3a0e2cf5e4b172176d42fd9e6 (diff)
parent801fa52dd67f57fd780cc036df272ab5207d799d (diff)
Merge branch 'feature/better-ci' into 'master'
GitLab CI: Define cache, Maven options See merge request mulk/jgvariant!19
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml9
1 files changed, 9 insertions, 0 deletions
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 @@ verify:
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