codeartsbuild__CreateBuildJob
Create a CodeArts Build job by defining project, architecture, source repositories, and build steps. Use it to automate compiling, testing, and packaging code pipelines.
Instructions
[CODEARTSBUILD] 创建构建任务
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"arch": "<arch>",
"job_name": "<job_name>",
"project_id": "<project_id>",
"steps": "<steps>"
},
"name": "codeartsbuild__CreateBuildJob"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| arch | Yes | 使用机器的架构 | |
| scms | No | 构建执行SCM | |
| steps | Yes | 构建执行的步骤 | |
| flavor | No | 执行机规格 | |
| job_name | Yes | 任务名称 | |
| host_type | No | host类型 | |
| parameters | No | 构建执行参数列表 | |
| project_id | Yes | 构建任务所在项目的ID | |
| build_config_type | No | 构建的配置类型 | |
| auto_update_sub_module | No | 是否自动更新子模块 |