FabledSkyBlock/.gitlab-ci.yml

19 lines
480 B
YAML
Raw Normal View History

2018-11-22 23:23:56 +01:00
stages:
- build
variables:
name: "FabledSkyBlock"
2019-02-08 19:23:27 +01:00
path: "/builds/Songoda/SkyBlock/"
2019-02-17 09:19:24 +01:00
version: "Build-68"
2018-11-22 23:23:56 +01:00
build:
stage: build
image: maven:3.5.3-jdk-8
script:
2019-02-08 19:23:27 +01:00
- find $path -type f -name "*.xml" -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
2019-02-08 18:40:18 +01:00
- mvn clean package
2018-11-22 23:23:56 +01:00
artifacts:
name: $name-$version
2018-11-22 23:23:56 +01:00
paths:
2019-02-08 19:23:27 +01:00
- "$path/target/*.jar"