Switch Jenkins CI pipeline build to using 'gradle clean build'.

This commit is contained in:
John Blum
2023-06-09 13:06:08 -07:00
parent 315a9d107e
commit df0709c915
2 changed files with 7 additions and 2 deletions

3
Jenkinsfile vendored
View File

@@ -33,9 +33,8 @@ pipeline {
// Cleanup any prior build system resources
try {
sh "echo 'Clean up GemFire/Geode files & build artifacts...'"
sh "ci/cleanupGemFiles.sh"
sh "ci/cleanupArtifacts.sh"
sh "ci/cleanupGemFiles.sh"
}
catch (ignore) { }

6
ci/build.sh Executable file
View File

@@ -0,0 +1,6 @@
#!/bin/bash -x
set -eou pipefail
GRADLE_OPTS="-Duser.name=jenkins -Duser.home=/tmp/jenkins-home -Djava.io.tmpdir=/tmp" \
./gradlew --no-daemon --refresh-dependencies --stacktrace clean build