blob: ec994fbdd85a157366cd7d69b09649361c6dd535 [file] [log] [blame]
Matthias Andreas Benkard36019c82023-12-05 21:30:38 +01001# SPDX-FileCopyrightText: © 2021-2023 Matthias Andreas Benkard <code@mail.matthias.benkard.de>
2#
3# SPDX-License-Identifier: LGPL-3.0-or-later
4
Matthias Benkarddfd98502023-01-02 18:29:14 +00005stages:
Matthias Benkard2b719e52023-01-08 05:27:23 +00006 - check
7
Matthias Benkarddfd98502023-01-02 18:29:14 +00008image: maven:3-openjdk-17
Matthias Benkard833933a2023-01-08 05:22:57 +00009
10verify:
Matthias Benkard2b719e52023-01-08 05:27:23 +000011 stage: check
Matthias Benkarddfd98502023-01-02 18:29:14 +000012 script:
Matthias Benkard833933a2023-01-08 05:22:57 +000013 - mvn verify
14
Matthias Benkardfa1c27b2023-01-08 05:16:16 +000015sast:
Matthias Benkard2b719e52023-01-08 05:27:23 +000016 stage: check
Matthias Benkard833933a2023-01-08 05:22:57 +000017
Matthias Benkard801fa522023-01-08 16:47:14 +000018cache:
19 key: $CI_JOB_NAME
20 paths:
21 - .m2/repository
22
23variables:
24 MAVEN_OPTS: "-Dmaven.repo.local=.m2/repository"
25 MAVEN_CLI_OPTS: "--batch-mode --errors"
26
Matthias Benkardfa1c27b2023-01-08 05:16:16 +000027include:
Matthias Benkard833933a2023-01-08 05:22:57 +000028 - template: Security/SAST.gitlab-ci.yml