From 34482660cd140938adb15be8e89f64229987cb32 Mon Sep 17 00:00:00 2001 From: Dmitriy Kopylenko Date: Thu, 13 Jun 2019 11:16:54 -0400 Subject: [PATCH] Add cleanWs() to Jenkins pipeline --- Jenkinsfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index bc032671c..8c6befc98 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -48,5 +48,8 @@ pipeline { success { emailext body: '''${SCRIPT, template="groovy-text.template"}''', recipientProviders: [[$class: 'DevelopersRecipientProvider'], [$class: 'RequesterRecipientProvider']], subject: '[SHIBUI] Build Success' } + always { + cleanWs() + } } -} \ No newline at end of file +}