Commit 24adbaa9 authored by Zandor Smith's avatar Zandor Smith 💻

Also moving setting up workspace to its own stage.

parent 534ba6c4
......@@ -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
......
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