检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
branch String 分支 language String 语言 endpoint_id String 端点ID 请求示例 PUT https://{endpoint}/v2/2d09f712e9504b61b034cc8f40e475a8/component/f7ced234
通用Webhook状态 useIam Boolean 是否使用IAM webhookUrl String 通用WebHooK地址 请求示例 GET https://{endpoint}/v5/0b015e21d3054a3fb03839c43b7cd034/pipelines/12780316
strings 发送用户 secret_info String 密钥信息 sort_index Integer 排序 请求示例 GET https://(endpoint)/v5/e2e18230a85d4d6ab0b56cb6d2246c18/api/pipeline-notic
ABCDEFJ....”,则调用接口时将“X-Auth-Token: ABCDEFJ....”加到请求消息头即可,如下所示。 GET https://iam.cn-north-1.myhuaweicloud.com/v3.0/OS-USER/users Content-Type:
String 默认分支 delete_branch_after_released Boolean 发布后是否删除特性分支 请求示例 POST https://{endpoint}/v2/2d09f712e9504b61b034cc8f40e475a8/change-request/create
branch String 分支 language String 语言 endpoint_id String 端点ID 请求示例 POSt https://{endpoint}/v2/2d09f712e9504b61b034cc8f40e475a8/component/create {
Integer 排序 响应参数 状态码:200 表3 响应Body参数 参数 参数类型 描述 status String 状态 请求示例 POST https://(endpoint)/v5/e2e18230a85d4d6ab0b56cb6d2246c18/api/pipeline-notic
"type" : "string", "value" : "https://001/test.git", "is_secret" : false, "description" : "代码仓地址(HTTPS)", "is_runtime" : null, "limits"
status API文档详情请参见:获取流水线状态。 API Explorer在线调试请参见: 获取流水线状态。 请求示例 GET https://cloudpipeline-ext.cn-north-1.myhuaweicloud.com/v3/pipelines/{pipeline_id}/status
流水线执行失败,提示没有配置部署策略 问题现象 执行流水线时,流水线上的云原生发布任务执行失败,提示没有配置部署策略。 原因分析 云原生发布环境未配置发布策略。 处理方法 登录华为云控制台页面。 单击页面左上角,在服务列表中选择“开发与运维 > 软件开发生产线”。 单击“立即使用”,进入CodeArts首页。 单击项目名称,进入目标项目。
请求参数 无 响应参数 状态码:200 表2 响应Body参数 参数 参数类型 描述 - String 微服务ID 请求示例 DELETE https://{endpoint}/v2/2d09f712e9504b61b034cc8f40e475a8/component/fcefc80d
String 默认分支 delete_branch_after_released Boolean 发布后是否删除特性分支 请求示例 GET https://{endpoint}/v2/2d09f712e9504b61b034cc8f40e475a8/change-request/db8
branch String 分支 language String 语言 endpoint_id String 端点ID 请求示例 GET https://{endpoint}/v2/2d09f712e9504b61b034cc8f40e475a8/component/f7ced234
String 默认分支 delete_branch_after_released Boolean 发布后是否删除特性分支 请求示例 GET https://{endpoint}/v2/2d09f712e9504b61b034cc8f40e475a8/change-request/releasing/query
流水线执行时代码仓默认分支。 约束限制: 不涉及。 取值范围: 不涉及。 默认取值: 不涉及。 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
工作项ID 响应参数 状态码:200 表3 响应Body参数 参数 参数类型 描述 - String 是否修改成功 请求示例 PUT https://{endpoint}/v2/2d09f712e9504b61b034cc8f40e475a8/change-request/ade
String 默认分支 delete_branch_after_released Boolean 发布后是否删除特性分支 请求示例 POST https://{endpoint}/v2/2d09f712e9504b61b034cc8f40e475a8/pipeline/change-requests/search
个字符。 执行主机:包括内置执行机和自定义执行机。 内置执行机:服务提供的执行主机,用户无需配置开箱即用。 自定义执行机:支持用户自行配置工具和运行环境,以满足不同任务的需求。选择自定义执行机需提前在资源池添加代理资源池,详细操作请参见资源池管理。 说明: 执行主机仅针对非任务级插件。