Revert "修复预览部署脚本执行方式"

This reverts commit 7fc739fad0.
This commit is contained in:
2026-08-15 18:09:04 +08:00
parent 7fc739fad0
commit 5e7ff450b6
4 changed files with 3 additions and 9 deletions
-5
View File
@@ -70,11 +70,6 @@ assertIncludes(
'GIT_REMOTE_URL="${GIT_REMOTE_URL:-}"',
'Jenkins 目标源码 checkout 必须在严格 shell 下安全读取固定 Git 地址。',
);
assertIncludes(
jenkinsfile,
'bash "${WORKSPACE}/scripts/jenkins-checkout-source.sh"',
'Jenkins 必须通过 bash 调用 checkout helper,不能依赖仓库文件可执行位。',
);
assertExcludes(
jenkinsfile,
'COMMIT_HASH="${COMMIT_HASH}"',