diff --git a/Jenkinsfile b/Jenkinsfile index 58afa6da8..c86242d5d 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,7 +1,7 @@ def runStages() { try { stage("Clone") { - cleanWs() + preBuildCleanup() checkout scm } @@ -42,7 +42,7 @@ def runStages() { // we need to rethrow the exception here throw e } finally { - cleanWs() + cleanWs(disableDeferredWipeout: true, deleteDirs: true) } }