FabledSkyBlock/.gitlab-ci.yml

23 lines
435 B
YAML
Raw Normal View History

2019-04-15 11:11:10 +02:00
image: gradle:alpine
2018-11-22 23:23:56 +01:00
2019-04-15 12:31:47 +02:00
variables:
name: "FabledSkyBlock"
2019-04-15 12:31:47 +02:00
path: "/builds/$CI_PROJECT_PATH"
version: "Build-79.2"
2019-04-15 12:31:47 +02:00
2019-04-15 11:11:10 +02:00
before_script:
2019-04-15 12:19:38 +02:00
- export GRADLE_USER_HOME=`pwd`/.gradle
2019-04-15 11:11:10 +02:00
stages:
- build
2018-11-22 23:23:56 +01:00
build:
stage: build
script:
- find $path/ -type f -name "*.gradle" -print0 | xargs -0 sed -i -e s/maven-version-number/$version/g
2019-04-15 12:19:38 +02:00
- gradle build
2019-04-15 12:31:47 +02:00
- mv $path/build/libs/*.jar $path/
2018-11-22 23:23:56 +01:00
artifacts:
paths:
2019-04-15 12:31:47 +02:00
- $path/*.jar