blob: dfd87f6ad35e6a11618aa200ebc8dcfbea806226 [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:
Marc Kupietz31574d92022-11-08 15:38:13 +010019 name: "totalngrams"
Marc Kupietz6a151fb2022-10-13 13:03:15 +020020 paths:
21 - target/*.jar
Marc Kupietz31574d92022-11-08 15:38:13 +010022 - target/appassembler/bin/*