mirror of
https://gitlab.com/camelot/kickc.git
synced 2024-11-19 11:31:57 +00:00
Working on handling the missing unzip on the new Docker image.
This commit is contained in:
parent
7cfca75864
commit
def77c3f2b
@ -3,14 +3,13 @@ image: maven:3-jdk-14
|
||||
release:
|
||||
stage: build
|
||||
script:
|
||||
- "ls /usr/bin/"
|
||||
# - "mvn -e package"
|
||||
# - "ls target"
|
||||
# - "unzip -d target/release target/kickc-release.zip"
|
||||
# - "mv target/release/kickc/jar/kickc-release.jar target/release/kickc/jar/kickc-${CI_COMMIT_REF_NAME}.jar"
|
||||
# - "mkdir ./kickc"
|
||||
# - "mv target/release/kickc/* ./kickc/"
|
||||
# - "cat target/site/jacoco/index.html"
|
||||
- "mvn -e package -DskipTests"
|
||||
- "ls target"
|
||||
- "gunzip -d target/release target/kickc-release.gz"
|
||||
- "mv target/release/kickc/jar/kickc-release.jar target/release/kickc/jar/kickc-${CI_COMMIT_REF_NAME}.jar"
|
||||
- "mkdir ./kickc"
|
||||
- "mv target/release/kickc/* ./kickc/"
|
||||
- "cat target/site/jacoco/index.html"
|
||||
artifacts:
|
||||
name: kickc_${CI_COMMIT_REF_NAME}
|
||||
paths:
|
||||
|
@ -2,6 +2,7 @@
|
||||
<id>release</id>
|
||||
<formats>
|
||||
<format>zip</format>
|
||||
<format>gz</format>
|
||||
</formats>
|
||||
<dependencySets>
|
||||
<dependencySet>
|
||||
|
Loading…
Reference in New Issue
Block a user