FabledSkyBlock/.gitlab-ci.yml

19 lines
500 B
YAML
Raw Normal View History

2018-11-22 23:23:56 +01:00
stages:
- build
variables:
name: "FabledSkyBlock"
path: "/builds/Songoda/SkyBlock"
2019-02-07 23:17:26 +01:00
version: "Build-66"
2018-11-22 23:23:56 +01:00
build:
stage: build
image: maven:3.5.3-jdk-8
script:
- mvn clean package
2019-01-25 21:04:06 +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
2018-11-22 23:23:56 +01:00
artifacts:
name: $name-$version
2018-11-22 23:23:56 +01:00
paths:
2019-01-25 21:04:06 +01:00
- "/builds/Songoda/SkyBlock/target/*.jar"