chore(jenkins): use built-in node defaults

This commit is contained in:
2026-04-23 02:38:13 +08:00
parent ad0ded5e58
commit d0709865bb
5 changed files with 20 additions and 9 deletions

View File

@@ -120,6 +120,8 @@ jenkins/Jenkinsfile.build-and-deploy
3. `BUILD_VERSION`:发布版本号;为空时回退到 `BUILD_NUMBER`
4. `RUN_NPM_CI`:是否在构建前执行 `npm ci`
如果当前 Jenkins 没有额外配置独立 Agent而是直接在控制器自身执行任务`AGENT_LABEL` 应填写 `built-in`
其中仅 `部署` 流水线还需要:
1. `SOURCE_WORKSPACE_ROOT`