检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
发布后是否删除特性分支 响应参数 状态码: 200 表4 响应Body参数 参数 参数类型 描述 - String 请求是否成功 请求示例 PUT https://{endpoint}/v2/2d09f712e9504b61b034cc8f40e475a8/change-request/095
branch String 分支 language String 语言 endpoint_id String 端点ID 请求示例 PUT https://{endpoint}/v2/2d09f712e9504b61b034cc8f40e475a8/component/f7ced234
branch String 分支 language String 语言 endpoint_id String 端点ID 请求示例 POSt https://{endpoint}/v2/2d09f712e9504b61b034cc8f40e475a8/component/create {
String 默认分支 delete_branch_after_released Boolean 发布后是否删除特性分支 请求示例 POST https://{endpoint}/v2/2d09f712e9504b61b034cc8f40e475a8/change-request/create
of strings 发送用户 secret_info String 密钥信息 sort_index Integer 排序 请求示例 https://(endpoint)/v5/e2e18230a85d4d6ab0b56cb6d2246c18/api/pipeline-notic
Integer 排序 响应参数 状态码: 200 表3 响应Body参数 参数 参数类型 描述 status String 状态 请求示例 https://(endpoint)/v5/e2e18230a85d4d6ab0b56cb6d2246c18/api/pipeline-notic
status API文档详情请参见:获取流水线状态。 API Explorer在线调试请参见: 获取流水线状态。 请求示例 GET https://cloudpipeline-ext.cn-north-1.myhuaweicloud.com/v3/pipelines/{pipeline_id}/status
默认分支 默认使用的分支,自动和微服务保持一致。 Repo https授权 打开“基于变更触发”后需配置“Repo HTTPS授权”,配置授权扩展点以提升代码仓操作权限。选择准备工作中已创建的授权扩展点“HttpsEndpoint01”。 别名 输入别名,会生成该仓库对应的相关系统参数,这里不设置。
默认分支。 约束限制: 不涉及。 取值范围: 不涉及。 默认取值: 不涉及。 git_url 否 String 参数解释: Git仓库https地址,例如https://example.com/CloudPipelinezycs00001/2000.git。 约束限制: 不涉及。 取值范围:
String 默认分支 delete_branch_after_released Boolean 发布后是否删除特性分支 请求示例 GET https://{endpoint}/v2/2d09f712e9504b61b034cc8f40e475a8/change-request/db8
并且变更文件在路径排除范围外有任意一个在包含范围内,则匹配成功,触发流水线。 标签排除优先于标签包含,即标签同时在包含和排除中时,则匹配失败,不触发流水线。 路径匹配范围:单次提交的前300个变更文件,变更文件数超过300建议拆分。 配置完成后,保存流水线。 配置流水线定时执行
branch String 分支 language String 语言 endpoint_id String 端点ID 请求示例 GET https://{endpoint}/v2/2d09f712e9504b61b034cc8f40e475a8/component/f7ced234
请求参数 无 响应参数 状态码: 200 表2 响应Body参数 参数 参数类型 描述 - String 微服务ID 请求示例 DELETE https://{endpoint}/v2/2d09f712e9504b61b034cc8f40e475a8/component/fcefc80d
流水线执行时代码仓默认分支。 约束限制: 不涉及。 取值范围: 不涉及。 默认取值: 不涉及。 git_url 是 String 参数解释: Git仓库https地址,例如https://example.com/CloudPipelinezycs00001/2000.git。 约束限制: 不涉及。 取值范围:
响应参数 状态码: 200 表2 响应Body参数 参数 参数类型 描述 status Boolean 是否成功 请求示例 DELETE https://{endpoint}/v2/2d09f712e9504b61b034cc8f40e475a8/rule-sets/2f4a244e
branch String 分支 language String 语言 endpoint_id String 端点ID 请求示例 PUT https://{endpoint}/v2/2d09f712e9504b61b034cc8f40e475a8/component/f7ced234
String 默认分支 delete_branch_after_released Boolean 发布后是否删除特性分支 请求示例 GET https://{endpoint}/v2/2d09f712e9504b61b034cc8f40e475a8/change-request/releasing/query
String 默认分支 delete_branch_after_released Boolean 发布后是否删除特性分支 请求示例 POST https://{endpoint}/v2/2d09f712e9504b61b034cc8f40e475a8/pipeline/change-requests/search
请求参数 无 响应参数 状态码: 200 表2 响应Body参数 参数 参数类型 描述 - String 是否收藏微服务 请求示例 GET https://{endpoint}/v2/2d09f712e9504b61b034cc8f40e475a8/component/f7ced234
参数 参数类型 描述 project_count Long 项目数 pipeline_count Long 流水线数 请求示例 GET https://{endpoint}/v2/f9228e23118c4fa5a9c86493ea0cffc2/tenant/rule-sets/6