diff --git a/Jenkinsfile b/Jenkinsfile index 8d1cc24..e574a68 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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) { } diff --git a/ci/build.sh b/ci/build.sh new file mode 100755 index 0000000..284bfaf --- /dev/null +++ b/ci/build.sh @@ -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