diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 649bec93465b6bf46ab34dfd2654d79dcdd5f651..9a8ae4fe596b57595179f102545e88f7fecf95d6 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