From f9449620caca493eb070696cb83909083e6f4bf8 Mon Sep 17 00:00:00 2001 From: Codex Date: Wed, 29 Apr 2026 14:00:13 +0800 Subject: [PATCH] Clean fixed Jenkins build output before rebuild --- jenkins/Jenkinsfile.build-and-deploy | 1 + 1 file changed, 1 insertion(+) diff --git a/jenkins/Jenkinsfile.build-and-deploy b/jenkins/Jenkinsfile.build-and-deploy index 3338e8f1..b2b46034 100644 --- a/jenkins/Jenkinsfile.build-and-deploy +++ b/jenkins/Jenkinsfile.build-and-deploy @@ -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}" ' '''