Disable the Gradle build-cache & configuration-cache when deploying artifacts.

Remove the unnecessary --refresh-dependencies option when deploying artifacts & docs.
This commit is contained in:
John Blum
2021-04-06 10:49:41 -07:00
parent 59b7f678b3
commit fee8821d89
4 changed files with 6 additions and 6 deletions

View File

@@ -3,4 +3,4 @@
set -eou pipefail
GRADLE_OPTS="-Duser.name=jenkins -Duser.home=/tmp/jenkins-home" \
./gradlew --no-daemon --refresh-dependencies --stacktrace -PdeployDocsSshKeyPath=$DEPLOY_SSH_KEY -PdeployDocsSshUsername=$SPRING_DOCS_USERNAME deployDocs
./gradlew deployDocs --no-daemon --stacktrace -PdeployDocsSshKeyPath=$DEPLOY_SSH_KEY -PdeployDocsSshUsername=$SPRING_DOCS_USERNAME