stages: | |
- check | |
image: docker.io/library/maven:3-eclipse-temurin-17 | |
verify: | |
stage: check | |
script: | |
- apt-get update | |
- apt-get -y --no-install-recommends yarn | |
- mvn verify | |
sast: | |
stage: check | |
cache: | |
key: $CI_JOB_NAME | |
paths: | |
- .m2/repository | |
variables: | |
MAVEN_OPTS: "-Dmaven.repo.local=.m2/repository" | |
MAVEN_CLI_OPTS: "--batch-mode --errors" | |
include: | |
- template: Security/SAST.gitlab-ci.yml |