From def77c3f2b7b34bd55de5d674d6e55a3cf55de9c Mon Sep 17 00:00:00 2001 From: jespergravgaard Date: Mon, 24 Aug 2020 21:51:28 +0200 Subject: [PATCH] Working on handling the missing unzip on the new Docker image. --- .gitlab-ci.yml | 15 +++++++-------- src/main/assembly/assembly.xml | 1 + 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 651d54ade..47615f67f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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: diff --git a/src/main/assembly/assembly.xml b/src/main/assembly/assembly.xml index 3ae36b60f..5ca6a40a2 100644 --- a/src/main/assembly/assembly.xml +++ b/src/main/assembly/assembly.xml @@ -2,6 +2,7 @@ release zip + gz