build: 构建后执行 mvn clean
This commit is contained in:
parent
51a9d7c1d0
commit
9bfadd32fd
|
@ -33,10 +33,7 @@ pipeline {
|
||||||
withCredentials([string(credentialsId: 'wechat-bot-webhook', variable: 'WEBHOOK')]) {
|
withCredentials([string(credentialsId: 'wechat-bot-webhook', variable: 'WEBHOOK')]) {
|
||||||
qyWechatNotification failSend: true, mentionedId: '', mentionedMobile: '', webhookUrl: "$WEBHOOK"
|
qyWechatNotification failSend: true, mentionedId: '', mentionedMobile: '', webhookUrl: "$WEBHOOK"
|
||||||
}
|
}
|
||||||
cleanWs(cleanWhenNotBuilt: false,
|
sh "./mvnw clean"
|
||||||
deleteDirs: true,
|
|
||||||
disableDeferredWipeout: true,
|
|
||||||
notFailBuild: true)
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue