检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
服务韧性 流水线通过双AZ部署,以保障服务的持久性和可靠性。 父主题: 安全
发布后是否删除特性分支 响应参数 状态码: 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
of strings 发送用户 secret_info String 密钥信息 sort_index Integer 排序 请求示例 https://(endpoint)/v5/e2e18230a85d4d6ab0b56cb6d2246c18/api/pipeline-notic
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
ABCDEFJ....”,则调用接口时将“X-Auth-Token: ABCDEFJ....”加到请求消息头即可,如下所示。 GET https://iam.cn-north-1.myhuaweicloud.com/v3.0/OS-USER/users Content-Type:
"type" : "string", "value" : "https://001/test.git", "is_secret" : false, "description" : "代码仓地址(HTTPS)", "is_runtime" : null, "limits"
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
schedule 使用on.schedule通过定义cron表达式使流水线在指定的UTC时间执行。以最后一次保存流水线时YAML内容中的定时任务配置为准,如果需要更新定时触发信息,需重新在页面上编辑YAML内容并保存流水线。定时任务执行时,会使用流水线源的默认分支。 on: schedule:
branch String 分支 language String 语言 endpoint_id String 端点ID 请求示例 GET https://{endpoint}/v2/2d09f712e9504b61b034cc8f40e475a8/component/f7ced234
默认分支。 约束限制: 不涉及。 取值范围: 不涉及。 默认取值: 不涉及。 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
"Serverless-maven编译部署", "icon" : "maven60", "manifest_version" : "3.0", "language" : "Java", "description" : "Serverless-maven编译构建、打包部署模板",
流水线执行时代码仓默认分支。 约束限制: 不涉及。 取值范围: 不涉及。 默认取值: 不涉及。 git_url 是 String 参数解释: Git仓库https地址,例如https://example.com/CloudPipelinezycs00001/2000.git。 约束限制: 不涉及。 取值范围:
响应参数 状态码: 200 表2 响应Body参数 参数 参数类型 描述 status Boolean 是否成功 请求示例 DELETE https://{endpoint}/v2/2d09f712e9504b61b034cc8f40e475a8/rule-sets/2f4a244e
请求参数 无 响应参数 状态码: 200 表2 响应Body参数 参数 参数类型 描述 - String 微服务ID 请求示例 DELETE https://{endpoint}/v2/2d09f712e9504b61b034cc8f40e475a8/component/fcefc80d
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