From 98c4f4e048adc5f673b171a9a46f884746640b29 Mon Sep 17 00:00:00 2001 From: Mike <76-Mike@users.noreply.git.krews.org> Date: Mon, 4 May 2020 18:29:48 +0200 Subject: [PATCH 1/3] Update pipeline --- .gitlab-ci.yml | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f443c3ff..2d63a30e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -4,29 +4,23 @@ stages: - build - deploy -cache: - paths: - - target/ - build: stage: build script: - mvn package only: - - dev - - master + changes: + - src/**/* artifacts: - paths: + paths: - target/Habbo-*.jar - .notify_builder: ¬ify_builder stage: deploy trigger: project: project-dobby/builder strategy: depend - notify_deploy_release: <<: *notify_builder variables: From 47f257f9ba52726b76bc8616ee93cedb02a1bd0e Mon Sep 17 00:00:00 2001 From: Mike <76-Mike@users.noreply.git.krews.org> Date: Mon, 4 May 2020 18:33:25 +0200 Subject: [PATCH 2/3] Update pipeline --- .gitlab-ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 2d63a30e..02782e33 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -12,6 +12,7 @@ build: changes: - src/**/* artifacts: + expire_in: 2 weeks paths: - target/Habbo-*.jar From 9762d41aae8c3dc287d25cf90972d636d52d6562 Mon Sep 17 00:00:00 2001 From: Mike <76-Mike@users.noreply.git.krews.org> Date: Mon, 4 May 2020 18:55:48 +0200 Subject: [PATCH 3/3] Update pipeline --- .gitlab-ci.yml | 29 +---------------------------- 1 file changed, 1 insertion(+), 28 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 02782e33..190fab2a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -2,7 +2,6 @@ image: maven:latest stages: - build - - deploy build: stage: build @@ -11,34 +10,8 @@ build: only: changes: - src/**/* + - pom.xml artifacts: expire_in: 2 weeks paths: - target/Habbo-*.jar - -.notify_builder: ¬ify_builder - stage: deploy - trigger: - project: project-dobby/builder - strategy: depend - -notify_deploy_release: - <<: *notify_builder - variables: - UPSTREAM_DECISION: "tag" - UPSTREAM_COMMIT_SHA: $CI_COMMIT_SHA - UPSTREAM_PROJECT: $CI_PROJECT_PATH - UPSTREAM_BRANCH: $CI_COMMIT_TAG - only: - - tags - -notify_deploy_dev: - <<: *notify_builder - variables: - UPSTREAM_DECISION: "dev" - UPSTREAM_COMMIT_SHA: $CI_COMMIT_SHA - UPSTREAM_PROJECT: $CI_PROJECT_PATH - UPSTREAM_BRANCH: "dev" - only: - - dev - \ No newline at end of file