Commit 70b8dfcb authored by Dennis Bonke's avatar Dennis Bonke
parents a29f1186 7d4678f2
......@@ -15,6 +15,7 @@ before_script:
- export GRADLE_USER_HOME=`pwd`/.gradle
stages:
- setup
- build
- deploy
......@@ -28,9 +29,19 @@ stages:
# - build
# - .gradle
setup-workspace:
stage: setup
script: ./gradlew -i setupDecompWorkspace
cache:
key: "$CI_COMMIT_REF_NAME"
policy: push
paths:
- build
- .gradle
build-jar:
stage: build
script: ./gradlew -i setupDecompWorkspace && ./gradlew -i build -Pmaven_pass=$MAVEN_PASS
script: ./gradlew -i build -Pmaven_pass=$MAVEN_PASS
cache:
key: "$CI_COMMIT_REF_NAME"
policy: push
......@@ -40,7 +51,7 @@ build-jar:
deploy-to-maven:
stage: deploy
script: ./gradlew uploadArchives -Pmaven_pass=$MAVEN_PASS
script: ./gradlew -i uploadArchives -Pmaven_pass=$MAVEN_PASS
cache:
key: "$CI_COMMIT_REF_NAME"
policy: push
......
<h1>AdvancedTools</h1>
AdvancedTools Mod!
\ No newline at end of file
AdvancedTools Mod!
<a href="http://git.zsinfo.nl/AdvancedMods/AdvancedTools/commits/master"><img src="http://git.zsinfo.nl/AdvancedMods/AdvancedTools/badges/master/pipeline.svg"></a>
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment