From 1aad276d6f40f7b70cdf6bfc45372ea5fe66a2f2 Mon Sep 17 00:00:00 2001 From: Dennis Eisold <de@itstall.de> Date: Tue, 26 Nov 2019 22:45:02 +0100 Subject: [PATCH] Gitlab-CI Test --- .gitlab-ci.yml | 27 +++++++++++++++++++-------- 1 file changed, 19 insertions(+), 8 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 649bec9..9a8ae4f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,11 +1,22 @@ image: maven:latest -java: +stages: + - build + - test + - deploy + +job build dependencies: + stage: build + script: make build dependencies + +job build artifacts: + stage: build + script: make build artifacts + +job test: stage: test - script: - - mvn verify - artifacts: - reports: - junit: - - target/surefire-reports/TEST-*.xml - - target/failsafe-reports/TEST-*.xml \ No newline at end of file + script: make test + +job deploy: + stage: deploy + script: make deploy -- GitLab