Clean before building in the Jenkinsfile

This commit is contained in:
Username404-59 2021-04-16 13:32:46 +02:00
parent a72cbeaaf0
commit 3813476a52
Signed by: Username404-59
GPG Key ID: 7AB361FBB257A5D1
1 changed files with 2 additions and 0 deletions

2
Jenkinsfile vendored
View File

@ -11,6 +11,8 @@ pipeline {
stages {
stage('Build') {
steps {
echo 'Cleaning...'
sh './gradlew clean'
echo 'Building..'
sh './gradlew build --stacktrace'
}