mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2024-11-26 16:30:52 +01:00
Update pipeline
This commit is contained in:
parent
47f257f9ba
commit
9762d41aae
@ -2,7 +2,6 @@ image: maven:latest
|
|||||||
|
|
||||||
stages:
|
stages:
|
||||||
- build
|
- build
|
||||||
- deploy
|
|
||||||
|
|
||||||
build:
|
build:
|
||||||
stage: build
|
stage: build
|
||||||
@ -11,34 +10,8 @@ build:
|
|||||||
only:
|
only:
|
||||||
changes:
|
changes:
|
||||||
- src/**/*
|
- src/**/*
|
||||||
|
- pom.xml
|
||||||
artifacts:
|
artifacts:
|
||||||
expire_in: 2 weeks
|
expire_in: 2 weeks
|
||||||
paths:
|
paths:
|
||||||
- target/Habbo-*.jar
|
- 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