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: stages:
- build - build
variables: variables:
name: "EpicBuckets" name: "EpicBuckets"
path: "/builds/$CI_PROJECT_PATH" path: "/builds/$CI_PROJECT_PATH"
version: "1.5.3" version: "1.5.3"
build: build:
stage: 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 - 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 $path/$name-Plugin/target/*.jar $path/
artifacts: artifacts:
name: $name-$version name: $name-$version
paths: paths:
- "$path/$name-Plugin/target/*.jar" - "$path/*.jar"