检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
error_code String 错误码 error_msg String 错误描述 请求示例 GET https://{endpoint}/v2/resource/package-spec/status 响应示例 状态码: 200 OK { "status" : "success
响应参数 状态码: 200 表3 响应Body参数 参数 参数类型 描述 success Boolean 是否停止成功 result String 返回结果 状态码: 400 表4 响应Body参数 参数 参数类型 描述 error_code String 错误码 error_msg
787dd84682aa4e78947af56277422259", "user_name" : "chengziyan", "is_creator" : false, "can_absent" : true } ] }, "error" : null, "status" : "success
create_time" : "2024-09-20T06:38:49.000+00:00", "last_update_time" : "2024-09-20T06:38:49.000+00:00" }, "error" : null, "status" : "success
参数 参数类型 描述 error_code String 错误码 error_msg String 错误描述 请求示例 POST https://{endpoint}/v2/resource/countdown 响应示例 状态码: 200 OK { "status" : "success
false" } ] } ] } 响应示例 状态码: 200 OK { "result" : { "uuid" : "77176fe3a02c4a49af822360760a607d" }, "error" : null, "status" : "success
"scm_type" : "string", "scm_web_url" : "string", "commit_detail_url" : "string" }, "error" : "error_message", "status" : "success
"trigger_name" : "devcloud_codeci_z00485259_03", "daily_build_number" : "string" } ] } ], "error" : { }, "status" : "success
endpoint}/v1/template/recommend 响应示例 状态码: 200 OK { "result" : { "items" : [ ], "total_size" : 0 }, "error" : null, "status" : "success
", "job_name_regex" : "", "source_code" : "codeci" }, "error" : null, "status" : "success" } 状态码 状态码 描述 200 OK 400 Bad Request
ae22fd035f354cfa8d82a3f1c8940446", "update_user_name" : "testUser", "update_time" : "2024-9-23 17:42" } ] }, "error" : null, "status" : "success
build_steps Array of build_steps objects 本次任务的构建步骤详情,返回的步骤为页面可见步骤 表4 build_steps 参数 参数类型 描述 name String 步骤名称 status String 步骤状态,可选值(running运行中,success
"value" : "false", "limits" : null } ] } ] } ], "total_size" : 41 }, "error" : null, "status" : "success
"build_project_id" : "8597a528-068e-4bfa-a812-3c625060c007", "project_permission_switch" : false } ] }, "status" : "success
error_msg String 错误描述 请求示例 GET https://{endpoint}/v4/jobs/cb5fa20de5fd4cf8be681d4bd6fdd2f6/61/record-info 响应示例 状态码: 200 OK { "status" : "success
"value" : "false", "limits" : null } ] } ], "i18n" : { } } ] }, "error" : null, "status" : "success
" : "devcloud" } 响应示例 状态码: 200 OK { "result" : { "job_id" : "db8467d972cc47f7a1bd2a3a3e77596a" }, "error" : null, "status" : "success
"branch", "depth" : "1", "repo_id" : "2111746211" } ], "host_type" : "devcloud" }, "error" : null, "status" : "success
"value" : "false", "limits" : null } ] } ], "i18n" : { } } ] }, "error" : null, "status" : "success
" : "devcloud" } 响应示例 状态码: 200 OK { "result" : { "job_id" : "db8467d972cc47f7a1bd2a3a3e77596a" }, "error" : null, "status" : "success