From 3813476a526897f6afa4dd74f48fb8f897b8a44a Mon Sep 17 00:00:00 2001 From: Username404-59 Date: Fri, 16 Apr 2021 13:32:46 +0200 Subject: [PATCH] Clean before building in the Jenkinsfile --- Jenkinsfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Jenkinsfile b/Jenkinsfile index e477f81..d9fe8d7 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -11,6 +11,8 @@ pipeline { stages { stage('Build') { steps { + echo 'Cleaning...' + sh './gradlew clean' echo 'Building..' sh './gradlew build --stacktrace' }