检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
运行中,CANCELED - 取消,COMPLETED - 已完成,FAILED - 失败,SKIPPED - 跳过,IGNORED - 忽略,PAUSED - 暂停, SUSPEND - 挂起, ASYNC_RUNNING - 异步运行,ASYNC_FAILED - 异步失败,UNSELECTED -
在编排流水线任务时,添加“执行镜像命令”插件。 图1 执行镜像命令 根据需要配置任务参数,参数说明如下: 参数项 说明 名称 插件名称。 支持中文、大小写英文字母、数字、“-”、“_”、“,”、“;”、“:”、“.”、“/”、“(”、“)”、“(”、“)”及空格。 字符长度范围为1-128。 镜像属性
插件在插件市场和流水线显示的名称。支持空格、中文、大小写英文字母、数字、“-”、“_”、“.”,长度不超过50字符。 唯一标识 自定义插件的唯一标识,需与插件包中codearts-extension.json文件的name字段值匹配,设置后不可修改,建议设置成具有实际含义的内容。支持大小写英文字母、数字、“-”、“_”,长度不超过50字符。
"2024-05-21T09:03:41.000000", "domain_id": "d78cbac1..........", "xdomain_id": "30086000........", "xdomain_type": "", "default_project_id":
新建参数”),填写参数信息。 表2 流水线自定义参数说明 参数信息 说明 名称 自定义参数名称,不可与系统预定义参数名称相同。支持大小写英文字母、数字、“_”,长度不超过128个字符。 类型 参数可选类型:字符串(默认类型)、自增长、枚举。 默认值 自定义参数的默认取值。 字符串:长度不超过8192个字符,可以为空。
定义编排发布(如:滚动发布和灰度发布)。 图1 配置云原生发布插件 表1 参数说明 参数项 说明 名称 插件的名称。支持输入中文、大小写英文字母、数字、“-”、“_”、“,”、“;”、“:”、“.”、“/”、“(”、“)”、“(”、“)”、空格,长度不超过128个字符。 环境级别
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
"status": "FAILED" } } 示例1:“jobs.*.status”,表示所有任务的状态,所以返回“[ 'COMPLETED', 'FAILED' ]”。 示例2:结合contains函数一起使用,如:contains(jobs.*.status, 'FAILED'),“jobs
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
template_type String 模板类型 user_id String 用户ID user_name String 用户名字 domain_id String 租户ID domain_name String 租户名字 is_build_in Boolean 是否内置模板 region String
成长地图 | 华为云 流水线 流水线(CodeArts Pipeline)提供可视化、可定制的持续交付流水线服务,实现缩短交付周期和提升交付质量的效果。 产品介绍 查看官网 仅两个按钮时选用 立即使用 成长地图 由浅入深,带您玩转流水线 01 了解 了解流水线的功能详情、应用场景
> 自定义变量”页面。 单击“编辑变量”,可新增一条变量,填写参数信息。 表2 自定义变量参数说明 参数项 说明 变量名 变量名称。支持英文字母、数字、“-”、“_”、“.”,长度不超过128个字符。 类型 仅支持字符串类型。 变量值 环境变量当前值(新增变量时为空),长度不超过512个字符。
策略模板,单击“确定”。 在模板的基础上自定义编排插件,并配置相关信息。 表1 新建策略 参数项 说明 策略名称 策略的名称。支持中文、英文字母、数字、“-”、“_”,不超过128个字符。 策略描述 长度不超过200个字符。 编排插件 选择策略模板后会自动生成相应的插件,可根据需
流水线运行状态。取值及含义:waiting:等待;running:执行中;verifying:待审核;suspending:挂起;completed:完成。 outcome String 流水线执行结果。取值及含义:success:成功;error:失败;aborted:终止 detail_url String
String 模板编辑URL user_id String 用户ID user_name String 用户名字 domain_id String 租户ID domain_name String 租户名字 is_build_in Boolean 是否内置模板 region String
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
nDetail接口返回体stages字段中找出所有人工审核任务的job_run_id。 约束限制: 不涉及。 取值范围: 不涉及。 默认取值: 不涉及。 step_run_id 是 String 参数解释: 流水线步骤ID。可通过ShowPipelineRunDetail接口返回
"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