diff options
author | Matthias Benkard <code@mulk.eu> | 2023-01-09 09:49:34 +0000 |
---|---|---|
committer | Matthias Benkard <code@mulk.eu> | 2023-01-09 09:49:34 +0000 |
commit | 526cebec9b36b3d5d6ecc9d15824b6a2ef5f90e4 (patch) | |
tree | d745435df32c4a2b5d120908cb390ebd919d524d | |
parent | 45f6bbaefce6b1a5c5e3563c79aab00f4968e896 (diff) |
Add GitLab CI pipeline.
-rw-r--r-- | .gitlab-ci.yml | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..3f0dba2 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,24 @@ +stages: + - check + +image: maven:3-openjdk-17 + +verify: + stage: check + script: + - mvn 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 |