Create and use different/separate Gradle caches (directory locations) for build, artifacts and docs phases/stages.

This commit is contained in:
John Blum
2021-04-08 15:06:03 -07:00
parent 11e8e7aa3b
commit ebe48bd62b
4 changed files with 6 additions and 4 deletions

View File

@@ -7,7 +7,7 @@ set -eou pipefail
# Syntax: `chown -R userId:groupId .`
chown -R 1001:1001 .
GRADLE_OPTS="-Duser.name=jenkins -Djava.io.tmpdir=/tmp" \
GRADLE_OPTS="-Duser.name=jenkins -Djava.io.tmpdir=/tmp -Dgradle.user.home=/tmp/geode/docs-gradle-cache" \
./gradlew deployDocs --no-daemon --stacktrace \
-PdeployDocsSshKeyPath=$DEPLOY_SSH_KEY \
-PdeployDocsSshUsername=$SPRING_DOCS_USERNAME