diff --git a/Jenkinsfile b/Jenkinsfile index e9fda0ea09..cc40dcc6db 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -33,10 +33,7 @@ pipeline { withCredentials([string(credentialsId: 'wechat-bot-webhook', variable: 'WEBHOOK')]) { qyWechatNotification failSend: true, mentionedId: '', mentionedMobile: '', webhookUrl: "$WEBHOOK" } - cleanWs(cleanWhenNotBuilt: false, - deleteDirs: true, - disableDeferredWipeout: true, - notFailBuild: true) + sh "./mvnw clean" } } }