1
0
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:
jespergravgaard 2018-09-30 15:51:15 +02:00
parent aee3c197da
commit 66b1249336
6 changed files with 31 additions and 38 deletions

View File

@ -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: