Marc Kupietz | 869bfb9 | 2022-11-06 20:38:40 +0100 | [diff] [blame] | 1 | image: maven:latest |
Marc Kupietz | 118b7a5 | 2022-10-13 12:38:05 +0200 | [diff] [blame] | 2 | |
Marc Kupietz | 48070d9 | 2022-11-08 11:30:18 +0100 | [diff] [blame] | 3 | variables: |
4 | GITLAB_FEATURES: "${GITLAB_FEATURES},dependency_scanning" | ||||
5 | |||||
6 | include: | ||||
7 | - template: Jobs/Dependency-Scanning.gitlab-ci.yml | ||||
8 | |||||
9 | stages: | ||||
10 | - build | ||||
11 | - test | ||||
12 | |||||
Marc Kupietz | 118b7a5 | 2022-10-13 12:38:05 +0200 | [diff] [blame] | 13 | build-and-test: |
14 | stage: build | ||||
15 | script: | ||||
16 | - mvn test | ||||
Marc Kupietz | 6a151fb | 2022-10-13 13:03:15 +0200 | [diff] [blame] | 17 | - mvn install |
18 | artifacts: | ||||
Marc Kupietz | 31574d9 | 2022-11-08 15:38:13 +0100 | [diff] [blame^] | 19 | name: "totalngrams" |
Marc Kupietz | 6a151fb | 2022-10-13 13:03:15 +0200 | [diff] [blame] | 20 | paths: |
21 | - target/*.jar | ||||
Marc Kupietz | 31574d9 | 2022-11-08 15:38:13 +0100 | [diff] [blame^] | 22 | - target/appassembler/bin/* |