Matthias Andreas Benkard | 36019c8 | 2023-12-05 21:30:38 +0100 | [diff] [blame] | 1 | # SPDX-FileCopyrightText: © 2021-2023 Matthias Andreas Benkard <code@mail.matthias.benkard.de> |
| 2 | # |
| 3 | # SPDX-License-Identifier: LGPL-3.0-or-later |
| 4 | |
Matthias Benkard | dfd9850 | 2023-01-02 18:29:14 +0000 | [diff] [blame] | 5 | stages: |
Matthias Benkard | 2b719e5 | 2023-01-08 05:27:23 +0000 | [diff] [blame] | 6 | - check |
| 7 | |
Matthias Benkard | dfd9850 | 2023-01-02 18:29:14 +0000 | [diff] [blame] | 8 | image: maven:3-openjdk-17 |
Matthias Benkard | 833933a | 2023-01-08 05:22:57 +0000 | [diff] [blame] | 9 | |
| 10 | verify: |
Matthias Benkard | 2b719e5 | 2023-01-08 05:27:23 +0000 | [diff] [blame] | 11 | stage: check |
Matthias Benkard | dfd9850 | 2023-01-02 18:29:14 +0000 | [diff] [blame] | 12 | script: |
Matthias Benkard | 833933a | 2023-01-08 05:22:57 +0000 | [diff] [blame] | 13 | - mvn verify |
| 14 | |
Matthias Benkard | fa1c27b | 2023-01-08 05:16:16 +0000 | [diff] [blame] | 15 | sast: |
Matthias Benkard | 2b719e5 | 2023-01-08 05:27:23 +0000 | [diff] [blame] | 16 | stage: check |
Matthias Benkard | 833933a | 2023-01-08 05:22:57 +0000 | [diff] [blame] | 17 | |
Matthias Benkard | 801fa52 | 2023-01-08 16:47:14 +0000 | [diff] [blame] | 18 | cache: |
| 19 | key: $CI_JOB_NAME |
| 20 | paths: |
| 21 | - .m2/repository |
| 22 | |
| 23 | variables: |
| 24 | MAVEN_OPTS: "-Dmaven.repo.local=.m2/repository" |
| 25 | MAVEN_CLI_OPTS: "--batch-mode --errors" |
| 26 | |
Matthias Benkard | fa1c27b | 2023-01-08 05:16:16 +0000 | [diff] [blame] | 27 | include: |
Matthias Benkard | 833933a | 2023-01-08 05:22:57 +0000 | [diff] [blame] | 28 | - template: Security/SAST.gitlab-ci.yml |