Skip to content
Snippets Groups Projects
Commit 1c474173 authored by Lukas Malte Monnerjahn's avatar Lukas Malte Monnerjahn
Browse files

OZG-8085 Maven CI Component POC

parent e4c8468b
No related branches found
No related tags found
No related merge requests found
Pipeline #2523 passed
......@@ -12,33 +12,16 @@ variables:
services:
- docker:dind
cache:
paths:
- .m2/repository/
- target/
stages:
- build
- test
- publish
build:
stage: build
script:
- mvn clean compile $MAVEN_CLI_OPTS --update-snapshots
artifacts:
paths:
- target/*.jar
test:
stage: test
script:
- mvn test $MAVEN_CLI_OPTS
verify:
stage: test
script:
- mvn verify $MAVEN_CLI_OPTS
# Maven Build, Test and Verify
include:
- component: $CI_SERVER_FQDN/ozg-cloud/ci-components/maven_build@main
inputs:
maven_cli_opts: $MAVEN_CLI_OPTS
snapshot-gitlab:
stage: publish
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment