检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
运行中,CANCELED - 取消,COMPLETED - 已完成,FAILED - 失败,SKIPPED - 跳过,IGNORED - 忽略,PAUSED - 暂停, SUSPEND - 挂起, ASYNC_RUNNING - 异步运行,ASYNC_FAILED - 异步失败,UNSELECTED -
"projects": [ { "domain_id": "65382450e8f64ac0870cd180d14e684b", "is_domain": false, "parent_id": "
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
配置流水线权限 流水线支持对单条流水线按照角色和人员两种维度进行权限配置,包括角色权限和人员权限。 默认情况下,流水线的角色权限和项目中的角色权限保持一致。 项目创建者和流水线创建者权限不能更改。 人员权限优先级高于角色权限:默认情况下,用户修改角色权限后会自动同步人员权限,如果修改了人员权限,则以人员权限为准。
配置微服务变更流水线 微服务是一种软件治理架构,一个大型的复杂软件项目,可以由一个或多个微服务组成,系统中各个微服务之间是松耦合的,各微服务并行独立开发、构建、验证及部署上线。变更是一次研发交付活动的载体,项目的需求研发和漏洞修复都可以放在变更上来实现,一个变更只能属于一个微服务
200 表3 响应Body参数 参数 参数类型 描述 id String 参数组ID project_id String 项目ID domain_id String 租户ID name String 参数组名称 description String 描述 variables Array
String 代码仓HTTP地址 git_url String 代码仓GIT地址 feature_branch String 特性分支 main_branch String 默认分支 delete_branch_after_released Boolean 发布后是否删除特性分支
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
"pipeline_run_id" : "e41fe3981361476eb6dad17ad98c683c", "status" : "START_FAILED", "reason" : "Current pipeline is banned." }, { "pipeline_id"
String 代码仓HTTP地址 git_url String 代码仓GIT地址 feature_branch String 特性分支 main_branch String 默认分支 delete_branch_after_released Boolean 发布后是否删除特性分支
String 代码仓HTTP地址 git_url String 代码仓GIT地址 feature_branch String 特性分支 main_branch String 默认分支 delete_branch_after_released Boolean 发布后是否删除特性分支
200 表2 响应Body参数 参数 参数类型 描述 id String 参数组名称 project_id String 项目名称 domain_id String 租户ID name String 参数组名称 description String 描述 variables Array
pipeline_variable_groups 参数 参数类型 描述 id String 参数组ID project_id String 项目ID domain_id String 租户ID name String 参数组名称 description String 描述 variables Array
String 代码仓HTTP地址 git_url String 代码仓GIT地址 feature_branch String 特性分支 main_branch String 默认分支 delete_branch_after_released Boolean 发布后是否删除特性分支
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
"password": "********", "domain": { "name": "domainname" }
start_time Integer 开始时间 end_time Integer 结束时间 modify_url String 修改URL detail_url String 详情URL 表5 stage_status_list 参数 参数类型 描述 id String 阶段ID name
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
"pipeline.deleted", "notice_data" : { "notice_types" : [ "MESSAGE", "EMAIL" ], "notice_roles" : [ "CREATOR", "EXECUTOR", "COLLECTOR" ] }