cleanup before building (#1794)
This commit is contained in:
3
Jenkinsfile
vendored
3
Jenkinsfile
vendored
@@ -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"
|
||||||
|
Reference in New Issue
Block a user