From 6d2ac7410c7a9372b6293be286a0fc676214cc6c Mon Sep 17 00:00:00 2001 From: Gijs B Date: Fri, 5 Apr 2019 14:22:11 +0000 Subject: [PATCH] Add .gitlab-ci.yml --- .gitlab-ci.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..5dce805 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,19 @@ +stages: +- build + +variables: + name: "EpicVouchers" + path: "/builds/$CI_PROJECT_PATH" + version: "1.0.5-ALPHA" + +build: + stage: build + image: maven:3.5.3-jdk-8 + script: + - mvn clean package + - find $path/ -depth -path '*original*' -delete + - mv -v $path/target/*.jar $path + artifacts: + name: $name-$version + paths: + - "$path/*.jar" \ No newline at end of file