检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
查询策略关联信息 功能介绍 查询策略关联信息 调用方法 请参见如何调用API。 URI GET /v2/{domainId}/tenant/rule-sets/{ruleSetId}/children 表1 路径参数 参数 是否必选 参数类型 描述 domainId 是 String
子流水线 配置并调用项目下其他流水线任务。 uses: SubPipeline with: pipelineId: 80ea2d9ffba94c20b9a0a0be47d3a0d8 branch: master pipelineId:调用的流水线的id。 branch:子流水线运行使用的分支。
功能介绍 查询流水线触发失败记录 调用方法 请参见如何调用API。 URI GET /v5/{project_id}/api/pipelines/{pipeline_id}/trigger-failed-record 表1 路径参数 参数 是否必选 参数类型 描述 project_id
参数类型 描述 pipeline_id String 流水线ID pipeline_run_id String 流水线运行实例ID 请求示例 https://{endpoint}/v5/e2e18230a85d4d6ab0b56cb6d2246c18/api/pipelines/batch-runs
流水线官方消息通知更新 调用方法 请参见如何调用API。 URI POST /v5/{project_id}/api/pipeline-notices/{pipeline_id}/notice 表1 路径参数 参数 是否必选 参数类型 描述 project_id 是 String
描述 pipeline_variable_groups Array of pipeline_variable_groups objects 详情列表 offset Integer 偏移量 limit Integer 单页条数· total Integer 总数 表3 pipeline_variable_groups
https://{endpoint}}/v5/db8d07265e24426598b3eb03a7818972/api/pipeline-tag/set-tags { "pipelineList" : [ "d7013d2402ff4cc88489ee5af324e049", "e94
更新策略 功能介绍 更新策略 调用方法 请参见如何调用API。 URI PUT /v2/{cloudProjectId}/rule-sets/{ruleSetId}/update 表1 路径参数 参数 是否必选 参数类型 描述 cloudProjectId 是 String 项目ID
新建CodeArts服务扩展点:用于提升CodeArts Repo代码库的操作权限,或连接非CodeArts的第三方代码库。 新建流水线 访问CodeArts Pipeline首页。 单击“新建流水线”,进入“基本信息”页面,参考表1配置流水线基本信息。 表1 流水线基本信息参数说明 参数项 说明 名称
queuedPipelines Array of queuedPipelines objects 排队记录列表 表4 queuedPipelines 参数 参数类型 描述 id Integer 排队记录ID pipeline_id String 流水线ID pipeline_run_id
切换策略状态 功能介绍 切换策略状态 调用方法 请参见如何调用API。 URI PUT /v2/{cloudProjectId}/rule-sets/{ruleSetId}/switch 表1 路径参数 参数 是否必选 参数类型 描述 cloudProjectId 是 String
codeartspipeline.v2.region.CodeArtsPipelineRegion; import com.huaweicloud.sdk.codeartspipeline.v2.*; import com.huaweicloud.sdk.codeartspipeline
任务发布的环境类别,对发布管理的环境类型,目前支持开发环境、测试环境、预发环境和生产环境。 环境 需要发布的环境,详见新建发布管理环境。 产物地址 部署发布时使用的镜像地址,如:swr.example.com/demo/springboot-helloworld:v1.1,可以通过“${}”引用流水线参数,如:swr
https://(endpoint)/v5/e2e18230a85d4d6ab0b56cb6d2246c18/api/pipeline/variable/group/pipeline?pipelineId=dc73b5ed58a64ab7a469b9480e5f6632 响应示例 状态码: 200
codeartspipeline.v2.region.CodeArtsPipelineRegion; import com.huaweicloud.sdk.codeartspipeline.v2.*; import com.huaweicloud.sdk.codeartspipeline
功能介绍 流水线官方消息通知查询 调用方法 请参见如何调用API。 URI GET /v5/{project_id}/api/pipeline-notices/{pipeline_id}/notice 表1 路径参数 参数 是否必选 参数类型 描述 project_id 是 String
)。 基于已创建的代码仓库新建流水线(选择空模板,命名为“Pipeline01”)。 步骤1:新建规则并配置阈值 登录华为云控制台页面。 单击页面左上角,在服务列表中选择“开发与运维 > 流水线 CodeArts Pipeline”。 单击“立即使用”,进入流水线服务首页。 单击
流水线触发方式on 使用on关键字可指定流水线的自动触发方式。可以在on中指定多个代码事件触发流水线的方式,支持通过过滤规则实现仅当满足特定的分支、文件、标签变更时才触发流水线;也可以在on中指定定时任务执行流水线。 on.<event_name>.types 指定触发流水线的代
查询变更关联的工作项 功能介绍 查询变更关联的工作项 调用方法 请参见如何调用API。 URI GET /v2/{cloudProjectId}/change-request/{changeRequestId}/workitems/query 表1 路径参数 参数 是否必选 参数类型
更新变更关联的工作项 功能介绍 更新变更关联的工作项 调用方法 请参见如何调用API。 URI PUT /v2/{cloudProjectId}/change-request/{changeRequestId}/workitem/update 表1 路径参数 参数 是否必选 参数类型