Clean before building in the Jenkinsfile
This commit is contained in:
parent
a72cbeaaf0
commit
3813476a52
|
@ -11,6 +11,8 @@ pipeline {
|
|||
stages {
|
||||
stage('Build') {
|
||||
steps {
|
||||
echo 'Cleaning...'
|
||||
sh './gradlew clean'
|
||||
echo 'Building..'
|
||||
sh './gradlew build --stacktrace'
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue