Skip to content
Snippets Groups Projects
Commit 9dfa1a53 authored by Moritz Lange's avatar Moritz Lange
Browse files

.gitlab-ci.yml hinzufügen

parent 79ded19b
No related branches found
No related tags found
No related merge requests found
stages:
- build
- test
- package
- deploy
image: maven:latest
cache:
paths:
- service1/maven.repository/
variables:
MAVEN_OPTS: "-Dmaven.repo.local=maven.repository"
build-app:
stage: build
script:
- mvn package -DskipTests -B
artifacts:
paths:
- target
expire_in: 1 week
test-app:
extends: .service1
stage: test
script:
- mvn test -B
dependencies:
- build-app
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment