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: ...@@ -12,33 +12,16 @@ variables:
services: services:
- docker:dind - docker:dind
cache:
paths:
- .m2/repository/
- target/
stages: stages:
- build - build
- test - test
- publish - publish
build: # Maven Build, Test and Verify
stage: build include:
script: - component: $CI_SERVER_FQDN/ozg-cloud/ci-components/maven_build@main
- mvn clean compile $MAVEN_CLI_OPTS --update-snapshots inputs:
artifacts: maven_cli_opts: $MAVEN_CLI_OPTS
paths:
- target/*.jar
test:
stage: test
script:
- mvn test $MAVEN_CLI_OPTS
verify:
stage: test
script:
- mvn verify $MAVEN_CLI_OPTS
snapshot-gitlab: snapshot-gitlab:
stage: publish stage: publish
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment