Cleanup any GemFire/Geode file system resources prior to the 'check' (build).

This commit is contained in:
John Blum
2021-03-30 17:20:26 -07:00
parent 49398ebe89
commit 9ec6d221f2

7
Jenkinsfile vendored
View File

@@ -10,12 +10,19 @@ currentBuild.result = SUCCESS
try {
parallel check: {
// Run Jenkins CI build in Docker container
stage('Check') {
timeout(time: 15, unit: 'MINUTES') {
node('linux') {
checkout scm
try {
withEnv(["JAVA_HOME=${tool 'jdk8'}"]) {
sh 'rm -Rf `find . -name "BACKUPDEFAULT*"`'
sh 'rm -Rf `find . -name "ConfigDiskDir*"`'
sh 'rm -Rf `find . -name "locator*" | grep -v "src" | grep -v "locator-application"`'
sh 'rm -Rf `find . -name "newDB"`'
sh 'rm -Rf `find . -name "server" | grep -v "src"`'
sh 'rm -Rf `find . -name "*.log"`'
sh './gradlew clean check --no-daemon --refresh-dependencies --stacktrace'
}
}