blob: 3f0dba27dceddec79ccbd7df8cfdfe2f60eb0305 [file] [log] [blame]
Matthias Benkarddfd98502023-01-02 18:29:14 +00001stages:
Matthias Benkard2b719e52023-01-08 05:27:23 +00002 - check
3
Matthias Benkarddfd98502023-01-02 18:29:14 +00004image: maven:3-openjdk-17
Matthias Benkard833933a2023-01-08 05:22:57 +00005
6verify:
Matthias Benkard2b719e52023-01-08 05:27:23 +00007 stage: check
Matthias Benkarddfd98502023-01-02 18:29:14 +00008 script:
Matthias Benkard833933a2023-01-08 05:22:57 +00009 - mvn verify
10
Matthias Benkardfa1c27b2023-01-08 05:16:16 +000011sast:
Matthias Benkard2b719e52023-01-08 05:27:23 +000012 stage: check
Matthias Benkard833933a2023-01-08 05:22:57 +000013
Matthias Benkard801fa522023-01-08 16:47:14 +000014cache:
15 key: $CI_JOB_NAME
16 paths:
17 - .m2/repository
18
19variables:
20 MAVEN_OPTS: "-Dmaven.repo.local=.m2/repository"
21 MAVEN_CLI_OPTS: "--batch-mode --errors"
22
Matthias Benkardfa1c27b2023-01-08 05:16:16 +000023include:
Matthias Benkard833933a2023-01-08 05:22:57 +000024 - template: Security/SAST.gitlab-ci.yml