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
|
||||
|
||||
compile:
|
||||
release:
|
||||
stage: build
|
||||
script:
|
||||
- "mvn package"
|
||||
artifacts:
|
||||
expire_in: 5mins
|
||||
paths:
|
||||
- target/kickc-release.zip
|
||||
|
||||
release:
|
||||
stage: deploy
|
||||
script:
|
||||
- "ls target"
|
||||
- "unzip -d target/release target/kickc-release.zip"
|
||||
- "mv target/release/kickc/* ."
|
||||
- "cat target/site/jacoco/index.html"
|
||||
artifacts:
|
||||
name: kickc_${CI_BUILD_REF_NAME}
|
||||
paths:
|
||||
|
Loading…
Reference in New Issue
Block a user