Matthias Benkard | 42b1867 | 2023-01-09 09:50:57 +0000 | [diff] [blame] | 1 | stages: |
| 2 | - check |
| 3 | |
Matthias Benkard | 8c11ae7 | 2023-01-09 15:58:47 +0000 | [diff] [blame] | 4 | image: docker.io/library/maven:3-eclipse-temurin-17 |
Matthias Benkard | 42b1867 | 2023-01-09 09:50:57 +0000 | [diff] [blame] | 5 | |
| 6 | verify: |
| 7 | stage: check |
| 8 | script: |
Matthias Benkard | ebd3c3c | 2023-01-09 13:55:19 +0000 | [diff] [blame] | 9 | - apt-get update |
Matthias Benkard | 04e17c6 | 2023-01-09 16:44:02 +0000 | [diff] [blame^] | 10 | - apt-get -y --no-install-recommends install yarnpkg |
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 |