Matthias Benkard | 42b1867 | 2023-01-09 09:50:57 +0000 | [diff] [blame] | 1 | stages: |
| 2 | - check |
| 3 | |
Matthias Benkard | c9d0dd2 | 2023-01-09 18:41:19 +0000 | [diff] [blame^] | 4 | image: docker.io/library/maven:3-eclipse-temurin-17-alpine |
Matthias Benkard | 42b1867 | 2023-01-09 09:50:57 +0000 | [diff] [blame] | 5 | |
| 6 | verify: |
| 7 | stage: check |
| 8 | script: |
Matthias Benkard | c9d0dd2 | 2023-01-09 18:41:19 +0000 | [diff] [blame^] | 9 | - apk update |
| 10 | - apk add yarn |
Matthias Benkard | 42b1867 | 2023-01-09 09:50:57 +0000 | [diff] [blame] | 11 | - mvn verify |
| 12 | |
| 13 | sast: |
| 14 | stage: check |
| 15 | |
| 16 | cache: |
| 17 | key: $CI_JOB_NAME |
| 18 | paths: |
| 19 | - .m2/repository |
| 20 | |
| 21 | variables: |
| 22 | MAVEN_OPTS: "-Dmaven.repo.local=.m2/repository" |
| 23 | MAVEN_CLI_OPTS: "--batch-mode --errors" |
| 24 | |
| 25 | include: |
| 26 | - template: Security/SAST.gitlab-ci.yml |