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

Merge branch 'master' into 'master'

# Conflicts:
#   .gitlab-ci.yml
parents 0b186544 5d388473
No related branches found
No related tags found
1 merge request!3Moving setup and deploy commands to seperate stages.
...@@ -13,6 +13,10 @@ variables: ...@@ -13,6 +13,10 @@ variables:
before_script: before_script:
- export GRADLE_USER_HOME=`pwd`/.gradle - export GRADLE_USER_HOME=`pwd`/.gradle
stages:
- build
- deploy
stages: stages:
- setup - setup
...@@ -48,6 +52,17 @@ deploy-to-maven: ...@@ -48,6 +52,17 @@ deploy-to-maven:
paths: paths:
- build - build
- .gradle - .gradle
deploy-to-maven:
stage: deploy
script: ./gradlew -i uploadArchives -Pmaven_pass=$MAVEN_PASS
cache:
key: "$CI_COMMIT_REF_NAME"
policy: push
paths:
- build
- .gradle
#test: #test:
......
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