mirror of
https://gitlab.com/camelot/kickc.git
synced 2024-09-08 17:54:40 +00:00
Refactored to a single CI task - with a single artifact
This commit is contained in:
parent
aee3c197da
commit
66b1249336
@ -1,20 +1,13 @@
|
|||||||
image: maven:3-jdk-8
|
image: maven:3-jdk-8
|
||||||
|
|
||||||
compile:
|
release:
|
||||||
stage: build
|
stage: build
|
||||||
script:
|
script:
|
||||||
- "mvn package"
|
- "mvn package"
|
||||||
artifacts:
|
|
||||||
expire_in: 5mins
|
|
||||||
paths:
|
|
||||||
- target/kickc-release.zip
|
|
||||||
|
|
||||||
release:
|
|
||||||
stage: deploy
|
|
||||||
script:
|
|
||||||
- "ls target"
|
- "ls target"
|
||||||
- "unzip -d target/release target/kickc-release.zip"
|
- "unzip -d target/release target/kickc-release.zip"
|
||||||
- "mv target/release/kickc/* ."
|
- "mv target/release/kickc/* ."
|
||||||
|
- "cat target/site/jacoco/index.html"
|
||||||
artifacts:
|
artifacts:
|
||||||
name: kickc_${CI_BUILD_REF_NAME}
|
name: kickc_${CI_BUILD_REF_NAME}
|
||||||
paths:
|
paths:
|
||||||
|
Loading…
Reference in New Issue
Block a user