diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 9afdfe0f652738c5dec1cca2c00df4967ea0a469..257f2e264c17ad2c0e69f185d33e627c7f0e1f8d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -3,6 +3,11 @@ image: maven:latest include: - template: Code-Quality.gitlab-ci.yml +stages: + - build + - test + - deploy + variables: MAVEN_CLI_OPTS: "-s .m2/settings.xml --batch-mode" MAVEN_OPTS: "-Dmaven.repo.local=.m2/repository" @@ -14,8 +19,6 @@ code_quality: - if: '$CI_PIPELINE_SOURCE == "merge_request_event"' - if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH' - if: '$CI_COMMIT_TAG' - stages: - - test cache: paths: