检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
执行记录总数。 取值范围: 不涉及。 pipeline_runs Array of pipeline_runs objects 参数解释: 流水线运行信息列表。 取值范围: 不涉及。 表5 pipeline_runs 参数 参数类型 描述 pipeline_id String 参数解释:
/v5/{project_id}/api/pipelines/{pipeline_id}/pipeline-runs/{pipelineRunId}/query-change-requests 表1 路径参数 参数 是否必选 参数类型 描述 pipelineRunId 是 String
功能介绍 查询流水线可用的系统参数 调用方法 请参见如何调用API。 URI GET /v5/{project_id}/api/pipelines/{pipeline_id}/list-system-vars 表1 路径参数 参数 是否必选 参数类型 描述 project_id 是 String
策略ID 请求参数 无 响应参数 状态码: 200 表2 响应Body参数 参数 参数类型 描述 project_count Long 项目数 pipeline_count Long 流水线数 请求示例 GET https://{endpoint}/v2/f9228e23118c4fa5
发布管理环境唯一标识。支持中文、英文字母、数字、“-”、“_”,长度不超过128个字符。 资源类型 承载服务的资源类型,当前支持华为云CCE集群、UCS集群和自建Kubernetes集群,不同类型的资源支持的部署插件不同。 CCE:华为云对Kubernetes封装的集群类型,使用华为云CCE资源时选择该类型,了解更多。
codeartspipeline.v2.region.CodeArtsPipelineRegion; import com.huaweicloud.sdk.codeartspipeline.v2.*; import com.huaweicloud.sdk.codeartspipeline
子流水线 配置并调用项目下其他流水线任务。 uses: SubPipeline with: pipelineId: 80ea2d9ffba94c20b9a0a0be47d3a0d8 branch: master pipelineId:调用的流水线的id。 branch:子流水线运行使用的分支。
名称 变更流水线的名称,使用自动生成的即可。 代码源 变更流水线关联的源码类型,自动和微服务保持一致。 代码仓 变更流水线关联的源码仓库,自动和微服务保持一致。 默认分支 默认使用的分支,自动和微服务保持一致。 Repo https授权 打开“基于变更触发”后需配置“Repo H
codeartspipeline.v2.region.CodeArtsPipelineRegion; import com.huaweicloud.sdk.codeartspipeline.v2.*; import com.huaweicloud.sdk.codeartspipeline
获取流水线步骤执行输出 调用方法 请参见如何调用API。 URI GET /v5/{project_id}/api/pipelines/{pipeline_id}/pipeline-runs/{pipeline_run_id}/steps/outputs 表1 路径参数 参数 是否必选 参数类型 描述
流水线官方消息通知更新 调用方法 请参见如何调用API。 URI POST /v5/{project_id}/api/pipeline-notices/{pipeline_id}/notice 表1 路径参数 参数 是否必选 参数类型 描述 project_id 是 String
制品源 SWR:使用华为云容器镜像作为流水线源运行流水线,并生成制品名称、制品下载地址和制品版本号系统参数,供需要的任务插件使用。 说明: GitCode流水线源当前仅支持“北京四”和“广州”局点白名单用户。如果您需要开通此功能,请新建工单或拨打客服热线进行咨询。 如果用户新
"Current pipeline is banned." }, { "pipeline_id" : "d7013d2402ff4cc88489ee5af324e049", "pipeline_name" : "子流水线引用新版", "pipeline_run_id"
total Integer 总数 pipeline_runs Array of pipeline_runs objects 详情列表 表4 pipeline_runs 参数 参数类型 描述 pipeline_id String 流水线ID pipeline_run_id String
查询项目下变更创建人信息 功能介绍 查询项目下变更创建人信息 调用方法 请参见如何调用API。 URI GET /v2/{cloudProjectId}/change-request/creator/list/search 表1 路径参数 参数 是否必选 参数类型 描述 cloudProjectId
queuedPipelines Array of queuedPipelines objects 排队记录列表 表4 queuedPipelines 参数 参数类型 描述 id Integer 排队记录ID pipeline_id String 流水线ID pipeline_run_id
查询是否收藏微服务 功能介绍 查询是否收藏微服务 调用方法 请参见如何调用API。 URI GET /v2/{cloudProjectId}/component/{componentId}/follow/query 表1 路径参数 参数 是否必选 参数类型 描述 cloudProjectId
GET /v5/{project_id}/api/pipelines/{pipeline_id}/pipeline-runs/{pipelineRunId}/run-variables 表1 路径参数 参数 是否必选 参数类型 描述 pipelineRunId 是 String 流水线运行实例ID
参数 参数类型 描述 pipeline_id String 参数解释: 流水线ID。 取值范围: 32位字符,仅由数字和字母组成。 pipeline_run_id String 参数解释: 流水线运行实例ID。 取值范围: 32位字符,仅由数字和字母组成。 executor_id String
5/071112d87d3e4ed49130c691936202e9/api/pipeline-permissions/pipeline/batch-role-permission { "pipeline_ids" : [ "53acae73a3f44b2994f9b20a710721c6"