Switch Jenkins CI pipeline build to using 'gradle clean build'.
This commit is contained in:
3
Jenkinsfile
vendored
3
Jenkinsfile
vendored
@@ -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
6
ci/build.sh
Executable 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
|
||||
Reference in New Issue
Block a user