2017-12-28 15:34:21 +00:00
|
|
|
image: maven:3-jdk-8
|
|
|
|
|
2018-09-29 10:24:57 +00:00
|
|
|
compile:
|
2018-09-26 21:39:11 +00:00
|
|
|
stage: build
|
2018-02-12 21:42:16 +00:00
|
|
|
script:
|
2018-09-26 21:39:11 +00:00
|
|
|
- "mvn package"
|
2018-09-30 09:52:23 +00:00
|
|
|
artifacts:
|
|
|
|
paths:
|
|
|
|
- target/kickc-release.zip
|
2018-09-29 10:24:57 +00:00
|
|
|
|
|
|
|
release:
|
2018-09-30 09:52:23 +00:00
|
|
|
stage: deploy
|
2018-09-29 10:24:57 +00:00
|
|
|
script:
|
2018-09-30 09:52:23 +00:00
|
|
|
- "ls target"
|
2018-09-29 10:24:57 +00:00
|
|
|
- "unzip -d target/release target/kickc-release.zip"
|
2018-09-26 20:49:00 +00:00
|
|
|
artifacts:
|
2018-09-29 10:24:57 +00:00
|
|
|
name: kickc_${CI_BUILD_REF_NAME}
|
2018-09-26 20:49:00 +00:00
|
|
|
paths:
|
2018-09-29 10:24:57 +00:00
|
|
|
- ./target/release/*
|