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