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

7
Jenkinsfile vendored
View File

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