blob: 69f51ac339edf650156f8a357f9a4038f11729ac [file] [log] [blame]
Matthias Benkard42b18672023-01-09 09:50:57 +00001stages:
2 - check
3
Matthias Benkardfa1fdbe2023-01-10 17:47:28 +00004image: docker.io/library/maven:3-eclipse-temurin-19-alpine
Matthias Benkard42b18672023-01-09 09:50:57 +00005
6verify:
7 stage: check
8 script:
Matthias Benkardc9d0dd22023-01-09 18:41:19 +00009 - apk update
10 - apk add yarn
Matthias Benkard42b18672023-01-09 09:50:57 +000011 - mvn verify
12
13sast:
14 stage: check
15
16cache:
17 key: $CI_JOB_NAME
18 paths:
19 - .m2/repository
Matthias Andreas Benkarda311d392023-01-14 10:21:59 +010020 - src/main/resources/META-INF/resources/.parcel-cache
21 - src/main/resources/META-INF/resources/node_modules
Matthias Benkard42b18672023-01-09 09:50:57 +000022
23variables:
24 MAVEN_OPTS: "-Dmaven.repo.local=.m2/repository"
25 MAVEN_CLI_OPTS: "--batch-mode --errors"
26
27include:
28 - template: Security/SAST.gitlab-ci.yml