Skip to content

Commit df0709c

Browse files
committed
Switch Jenkins CI pipeline build to using 'gradle clean build'.
1 parent 315a9d1 commit df0709c

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

Jenkinsfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,8 @@ pipeline {
3333

3434
// Cleanup any prior build system resources
3535
try {
36-
sh "echo 'Clean up GemFire/Geode files & build artifacts...'"
37-
sh "ci/cleanupGemFiles.sh"
3836
sh "ci/cleanupArtifacts.sh"
37+
sh "ci/cleanupGemFiles.sh"
3938
}
4039
catch (ignore) { }
4140

ci/build.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#!/bin/bash -x
2+
3+
set -eou pipefail
4+
5+
GRADLE_OPTS="-Duser.name=jenkins -Duser.home=/tmp/jenkins-home -Djava.io.tmpdir=/tmp" \
6+
./gradlew --no-daemon --refresh-dependencies --stacktrace clean build

0 commit comments

Comments
 (0)