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: |
| 19 | name: "$CI_JOB_NAME-$CI_COMMIT_REF_NAME" |
| 20 | paths: |
| 21 | - target/*.jar |