Update .gitlab-ci.yml

This commit is contained in:
Esophose 2019-04-11 08:56:17 +00:00
parent 12571e83ae
commit ea7aac0284

View File

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