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

6
Jenkinsfile vendored
View File

@@ -31,14 +31,14 @@ pipeline {
steps {
script {
docker.withRegistry('', 'hub.docker.com-springbuildmaster') {
docker.image('adoptopenjdk/openjdk8:latest').inside('-u root -v /var/run/docker.sock:/var/run/docker.sock -v /usr/bin/docker:/usr/bin/docker -v $HOME:/tmp/jenkins-home') {
docker.image('adoptopenjdk/openjdk8:latest').inside('-u root -v /usr/bin/docker:/usr/bin/docker -v /var/run/docker.sock:/var/run/docker.sock -v $HOME:/tmp/jenkins-home') {
sh "echo 'Setting up build environment...'"
sh "echo 'Setup build environment...'"
sh "ci/setup.sh"
// Cleanup any prior build system resources
try {
sh "echo 'Cleaning up build artifacts & GemFire/Geode files...'"
sh "echo 'Clean up build artifacts & GemFire/Geode files...'"
sh "ci/cleanupGemFiles.sh"
sh "ci/cleanupArtifacts.sh"
}