Clean fixed Jenkins build output before rebuild
Some checks failed
CI / verify (push) Has been cancelled

This commit is contained in:
Codex
2026-04-29 14:00:13 +08:00
parent 1ca22b17cc
commit f9449620ca

View File

@@ -101,6 +101,7 @@ pipeline {
# 这里不使用 -x避免删除 node_modules 等忽略目录后与 RUN_NPM_CI=false 的配置冲突。
git reset --hard HEAD
git clean -fd
rm -rf "build/${EFFECTIVE_BUILD_VERSION}"
'
'''