Update .gitlab-ci.yml

This commit is contained in:
Esophose 2019-04-11 09:01:43 +00:00
parent 4573594432
commit 5526b0e176

View File

@ -1,10 +1,10 @@
stages: stages:
- build - build
variables: variables:
name: "EpicFurnaces" name: "EpicFurnaces"
path: "/builds/$CI_PROJECT_PATH" path: "/builds/$CI_PROJECT_PATH"
version: "4.1.2" version: "4.1.2"
build: build:
stage: build stage: build
@ -14,8 +14,8 @@ build:
- find $path/ -type f -name "*.yml" -print0 | xargs -0 sed -i -e s/maven-version-number/$version/g - find $path/ -type f -name "*.yml" -print0 | xargs -0 sed -i -e s/maven-version-number/$version/g
- mvn clean package - mvn clean package
- find $path/ -depth -path '*original*' -delete - find $path/ -depth -path '*original*' -delete
- mv -v $path/target/*.jar $path - mv $path/core/target/*.jar $path/
artifacts: artifacts:
name: $name-$version name: $name-$version
paths: paths:
- "$path/*.jar" - "$path/*.jar"