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}" ' '''