Files
spring-boot-data-geode/ci/deployArtifacts.sh
John Blum fee8821d89 Disable the Gradle build-cache & configuration-cache when deploying artifacts.
Remove the unnecessary --refresh-dependencies option when deploying artifacts & docs.
2021-04-07 21:01:10 -07:00

7 lines
498 B
Bash
Executable File

#!/bin/bash -x
set -eou pipefail
GRADLE_OPTS="-Duser.name=jenkins -Duser.home=/tmp/jenkins-home" \
./gradlew deployArtifacts finalizeDeployArtifacts --no-build-cache- --no-configuration-cache --no-daemon --stacktrace -Psigning.secretKeyRingFile=$SIGNING_KEYRING_FILE -Psigning.keyId=$SPRING_SIGNING_KEYID -Psigning.password=$SIGNING_PASSWORD -PossrhUsername=$OSSRH_USERNAME -PossrhPassword=$OSSRH_PASSWORD -PartifactoryUsername=$ARTIFACTORY_USERNAME -PartifactoryPassword=$ARTIFACTORY_PASSWORD