检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
编辑权限 operation_delete Boolean 删除权限 operation_authorize Boolean 编辑流水线权限配置权限 user_id String 用户ID user_name String 用户名称 domain_name String 租户名称 nick_name
"pipeline_id" : "1d5107b3cd4746a3a03efef83b9e4e45", "pipeline_name" : "变更1012", "pipeline_run_id" : "f68aa7ca562f4f31bfbb63628de0e2cd",
插件类型和category字段值对应关系如下: 构建:Build。 代码检查:Gate. 部署:Deploy。 测试:Test。 通用:Normal。 插件类型 插件的类型,支持构建、代码检查、测试、部署、通用共5种类型,一经设置,不可修改。 插件描述 插件描述将展示在插件市场中,介绍插
icon_url String 图标URL multi_step_editable Integer 可编辑 location String 地址 publisher_unique_id String 发布商ID manifest_version String 版本 表8 all_steps
start_time sort_dir 否 String 排序方式。asc按排序字段升序,desc按排序字段降序 git_url 否 String 代码仓地址。仅支持codehub仓库,如:git@codehub.XXX.git offset 否 Integer 偏移量。表示从此偏移量开始查询,offset大于等于0,默认取值为0
流水线执行时代码仓默认分支。 约束限制: 不涉及。 取值范围: 不涉及。 默认取值: 不涉及。 git_url 是 String 参数解释: Git仓库https地址,例如https://example.com/CloudPipelinezycs00001/2000.git。 约束限制: 不涉及。 取值范围:
"plugin_attribution" : "official", "icon_url" : "", "description" : "下载流水线源中配置的代码库。", "publisher_id" : null, "manifest_version" : null } ]
"Serverless-maven编译部署", "icon" : "maven60", "manifest_version" : "3.0", "language" : "Java", "description" : "Serverless-maven编译构建、打包部署模板",
hook_flag 是 Boolean 是否开启触发执行流水线功能 branch 是 String 触发分支 git_url 是 String 源码仓ssh地址 codehub_id 是 String 源码仓ID web_url 是 String 源码仓首页url branch_list 是 Array
component_id String 参数解释: 所属微服务ID。 取值范围: 不涉及。 is_publish Boolean 参数解释: 是否为变更流水线。 取值范围: true, false。 creator_id String 参数解释: 创建人ID。 取值范围: 32位字符,仅由数字和字母组成。
publish_tab 否 String 是否发布流水线 platform 否 String 部署平台 comp_extend_type 否 String 组件类型 deploy_type 否 String 部署类型 响应参数 状态码: 200 表4 响应Body参数 参数 参数类型 描述 f