cleanup before building (#1794)

This commit is contained in:
Frank Spijkerman
2018-05-22 11:03:16 +02:00
committed by Raoul
parent 1c946cc9a8
commit 06174d743a

3
Jenkinsfile vendored
View File

@@ -6,6 +6,9 @@ node {
[$class: 'ArbitraryFileCache', excludes: 'modules-2/modules-2.lock,*/plugin-resolution/**', includes: '**/*', path: '${HOME}/.gradle/caches'], [$class: 'ArbitraryFileCache', excludes: 'modules-2/modules-2.lock,*/plugin-resolution/**', includes: '**/*', path: '${HOME}/.gradle/caches'],
[$class: 'ArbitraryFileCache', excludes: '', includes: '**/*', path: '${HOME}/.gradle/wrapper'] [$class: 'ArbitraryFileCache', excludes: '', includes: '**/*', path: '${HOME}/.gradle/wrapper']
]) { ]) {
stage('Cleanup') {
sh "./gradlew clean"
}
stage('Build') { stage('Build') {
sh "./gradlew setupCIWorkspace" sh "./gradlew setupCIWorkspace"
sh "./gradlew build" sh "./gradlew build"