Matthias Benkard | dfd9850 | 2023-01-02 18:29:14 +0000 | [diff] [blame] | 1 | stages: |
Matthias Benkard | 2b719e5 | 2023-01-08 05:27:23 +0000 | [diff] [blame] | 2 | - check |
3 | |||||
Matthias Benkard | dfd9850 | 2023-01-02 18:29:14 +0000 | [diff] [blame] | 4 | image: maven:3-openjdk-17 |
Matthias Benkard | 833933a | 2023-01-08 05:22:57 +0000 | [diff] [blame] | 5 | |
6 | verify: | ||||
Matthias Benkard | 2b719e5 | 2023-01-08 05:27:23 +0000 | [diff] [blame] | 7 | stage: check |
Matthias Benkard | dfd9850 | 2023-01-02 18:29:14 +0000 | [diff] [blame] | 8 | script: |
Matthias Benkard | 833933a | 2023-01-08 05:22:57 +0000 | [diff] [blame] | 9 | - mvn verify |
10 | |||||
Matthias Benkard | fa1c27b | 2023-01-08 05:16:16 +0000 | [diff] [blame] | 11 | sast: |
Matthias Benkard | 2b719e5 | 2023-01-08 05:27:23 +0000 | [diff] [blame] | 12 | stage: check |
Matthias Benkard | 833933a | 2023-01-08 05:22:57 +0000 | [diff] [blame] | 13 | |
Matthias Benkard | 801fa52 | 2023-01-08 16:47:14 +0000 | [diff] [blame] | 14 | cache: |
15 | key: $CI_JOB_NAME | ||||
16 | paths: | ||||
17 | - .m2/repository | ||||
18 | |||||
19 | variables: | ||||
20 | MAVEN_OPTS: "-Dmaven.repo.local=.m2/repository" | ||||
21 | MAVEN_CLI_OPTS: "--batch-mode --errors" | ||||
22 | |||||
Matthias Benkard | fa1c27b | 2023-01-08 05:16:16 +0000 | [diff] [blame] | 23 | include: |
Matthias Benkard | 833933a | 2023-01-08 05:22:57 +0000 | [diff] [blame] | 24 | - template: Security/SAST.gitlab-ci.yml |