EpicBosses/.gitlab-ci.yml

21 lines
474 B
YAML
Raw Normal View History

2018-11-19 06:50:13 +01:00
stages:
- build
variables:
name: "EpicBosses"
path: "/builds/$CI_PROJECT_PATH"
version: "1.0.0"
2018-11-19 06:50:13 +01:00
build:
stage: build
image: maven:3.5.3-jdk-8
script:
- find $path/ -type f -name "*.xml" -print0 | xargs -0 sed -i -e s/maven-version-number/$version/g
- mvn clean package
- find $path/ -depth -path '*original*' -delete
2018-11-19 09:48:02 +01:00
- mv -v $path/plugin-modules/Core/target/*.jar $path
2018-11-19 06:50:13 +01:00
artifacts:
name: $name-$version
paths:
- "$path/*.jar"