mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2024-11-22 15:00:52 +01:00
Update pipeline
This commit is contained in:
parent
47f257f9ba
commit
9762d41aae
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user