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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user