From 6356f5ce912d4d7184bf85012c3105d202a31c4a Mon Sep 17 00:00:00 2001 From: DaCool <8727384-DaCool@users.noreply.gitlab.com> Date: Sun, 14 Nov 2021 13:04:48 +0000 Subject: [PATCH] Enable artifact of the client from Gitlab CI --- .gitlab-ci.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c46487e..c3bc02b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -17,6 +17,12 @@ build: stage: build script: - ./gradlew shadowJar + - mv ./build/libs/sheepit-client-all.jar ./ + artifacts: + name: "$CI_COMMIT_REF_NAME-sheepit-artifact" + paths: + - ./sheepit-client-all.jar + expire_in: 1 week test: stage: test