Skip to content
Snippets Groups Projects
Commit 9c7d49d4 authored by Dennis Bonke's avatar Dennis Bonke
Browse files

Update .gitlab-ci.yml

parent 3924b432
No related branches found
No related tags found
No related merge requests found
Pipeline #
......@@ -13,16 +13,31 @@ variables:
before_script:
- export GRADLE_USER_HOME=`pwd`/.gradle
stages:
- build
- deploy
build:
build-jar:
stage: build
script: ./gradlew -i setupDecompWorkspace && ./gradlew build -Pmaven_pass=$MAVEN_PASS && ./gradlew uploadArchives -Pmaven_pass=$MAVEN_PASS
script: ./gradlew -i setupDecompWorkspace && ./gradlew -i build -Pmaven_pass=$MAVEN_PASS
cache:
key: "$CI_COMMIT_REF_NAME"
policy: push
paths:
- build
- .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:
......
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