Skip to content
Snippets Groups Projects
Commit f761bfe8 authored by Jonas Blatt's avatar Jonas Blatt :ant:
Browse files

New ci/cd

parent 71adeb40
No related branches found
No related tags found
No related merge requests found
......@@ -3,6 +3,7 @@ image: maven:3.8.3-openjdk-17
stages:
- build-dmn-generator
- build-application-jar
- build-application-docker
variables:
MAVEN_OPTS: >-
......@@ -41,7 +42,7 @@ build-frontend-jar:
- .m2/repository
script:
- "cd dmnverifierfrontend"
- "./mvnw install"
- "./mvnw install -B"
artifacts:
name: "Maven artifacts from $CI_PROJECT_NAME / FRONTEND on $CI_COMMIT_REF_SLUG"
paths:
......@@ -49,13 +50,15 @@ build-frontend-jar:
build-api-jar:
stage: build-application-jar
dependencies:
- build-dmn-generator
cache:
key: "maven-$CI_COMMIT_REF_SLUG"
paths:
- .m2/repository
script:
- "cd dmnverifierapi"
- "./mvnw install"
- "./mvnw install -B"
artifacts:
name: "Maven artifacts from $CI_PROJECT_NAME / API on $CI_COMMIT_REF_SLUG"
paths:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment