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

@@ -7,7 +7,7 @@ pipeline {
}
parameters {
string(name: 'AGENT_LABEL', defaultValue: 'linux', description: '构建节点标签')
string(name: 'AGENT_LABEL', defaultValue: 'built-in', description: '构建节点标签')
string(name: 'GENARRATIVE_WORKSPACE_ROOT', defaultValue: '', description: '源码根目录,留空则使用当前 Jenkins 工作区')
string(name: 'BUILD_VERSION', defaultValue: '', description: '发布版本号,留空则使用 Jenkins BUILD_NUMBER')
booleanParam(name: 'RUN_NPM_CI', defaultValue: false, description: '构建前是否执行 npm ci')

View File

@@ -7,7 +7,7 @@ pipeline {
}
parameters {
string(name: 'AGENT_LABEL', defaultValue: 'linux', description: '构建节点标签')
string(name: 'AGENT_LABEL', defaultValue: 'built-in', description: '构建节点标签')
string(name: 'GENARRATIVE_WORKSPACE_ROOT', defaultValue: '', description: '源码根目录,留空则使用当前 Jenkins 工作区')
string(name: 'BUILD_VERSION', defaultValue: '', description: '发布版本号,留空则使用 Jenkins BUILD_NUMBER')
booleanParam(name: 'RUN_NPM_CI', defaultValue: false, description: '构建前是否执行 npm ci')