Skip to content
Snippets Groups Projects
Commit 0b186544 authored by Zandor Smith's avatar Zandor Smith :computer:
Browse files

Also moving setting up workspace to its own stage.

parent babf7234
No related branches found
No related tags found
1 merge request!3Moving setup and deploy commands to seperate stages.
......@@ -15,12 +15,23 @@ before_script:
- export GRADLE_USER_HOME=`pwd`/.gradle
stages:
- setup
- build
- deploy
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 build -Pmaven_pass=$MAVEN_PASS
script: ./gradlew build -Pmaven_pass=$MAVEN_PASS
cache:
key: "$CI_COMMIT_REF_NAME"
policy: push
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment