From 7f3e39ed2241f11375f7f4b6e516c3fb09a8e6c3 Mon Sep 17 00:00:00 2001 From: Jeffrey Phillips Freeman <the@jeffreyfreeman.me> Date: Wed, 30 Sep 2020 10:56:55 -0400 Subject: [PATCH] Fixed stages key, produced error before. --- .gitlab-ci.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 9afdfe0f..257f2e26 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: -- GitLab