blob: 6c76d9f1b1a2f73435f13b93686822da064fd389 [file] [log] [blame]
Marc Kupietz869bfb92022-11-06 20:38:40 +01001image: maven:latest
Marc Kupietz118b7a52022-10-13 12:38:05 +02002
Marc Kupietz48070d92022-11-08 11:30:18 +01003variables:
4 GITLAB_FEATURES: "${GITLAB_FEATURES},dependency_scanning"
5
6include:
7 - template: Jobs/Dependency-Scanning.gitlab-ci.yml
8
9stages:
10 - build
11 - test
12
Marc Kupietz118b7a52022-10-13 12:38:05 +020013build-and-test:
14 stage: build
15 script:
16 - mvn test
Marc Kupietz6a151fb2022-10-13 13:03:15 +020017 - mvn install
18 artifacts:
19 name: "$CI_JOB_NAME-$CI_COMMIT_REF_NAME"
20 paths:
21 - target/*.jar