检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
参数 参数类型 描述 status String 返回结果状态 状态码: 400 表4 响应Body参数 参数 参数类型 描述 error_code String 错误码 error_msg String 错误描述 状态码: 401 表5 响应Body参数 参数 参数类型 描述 error_code
参数 参数类型 描述 result Boolean 任务运行结果 状态码: 400 表4 响应Body参数 参数 参数类型 描述 error_code String 错误码 error_msg String 错误描述 状态码: 401 表5 响应Body参数 参数 参数类型 描述 error_code
参数 参数类型 描述 result Boolean 构建停止结果 状态码: 400 表4 响应Body参数 参数 参数类型 描述 error_code String 错误码 error_msg String 错误描述 状态码: 401 表5 响应Body参数 参数 参数类型 描述 error_code
构建执行的步骤 host_type 否 String host类型 build_config_type 否 String 构建的配置类型 表3 CreateBuildJobParameter 参数 是否必选 参数类型 描述 name 否 String 参数定义名,默认为hudson
/buildResult/Release/bin/* ignore_fail: true 表2 代码示例参数说明 参数 类型 说明 command string 配置mono执行命令。 ignore_fail string 用于控制当前步骤执行失败后是否继续执行下一个步骤。
Makefiles' ../ && make -j ignore_fail: true 表2 代码示例参数说明 参数 类型 说明 command string 配置CMake命令。更多命令使用方法可参考CMake官网。 ignore_fail string 用
参数 参数类型 描述 success_count Integer 任务成功构建次数 total_count Integer 任务构建总次数 success_ratio Double 任务成功率,精确到小数点后两位 状态码: 400 表5 响应Body参数 参数 参数类型 描述 error_code
表4 响应Body参数 参数 参数类型 描述 total Integer 记录总数 history_records Array of history_records objects 构建历史列表 表5 history_records 参数 参数类型 描述 record_id String
构建执行的步骤 host_type 否 String host类型 build_config_type 否 String 构建的配置类型 表3 UpdateBuildJobParameter 参数 是否必选 参数类型 描述 name 否 String 参数定义名,默认为hudson
object 代码信息 表3 ParameterItem 参数 是否必选 参数类型 描述 name 是 String 参数名称 value 是 String 参数值 表4 Scm 参数 是否必选 参数类型 描述 build_tag 否 String 代码Tag build_commit_id
-verbose gulp ignore_fail: true 表2 代码示例参数说明 参数 类型 说明 command string 配置gulp命令。更多命令使用方法可参考gulp官网。 ignore_fail string 用于控
-zcvf php-composer.tgz * ignore_fail: true 表2 代码示例参数说明 参数 类型 说明 command string 配置PHP命令。更多命令使用方法可参考PHP官网。 ignore_fail string 用于控制当
cp -rf $GOPATH/bin/ ./bin ignore_fail: true 表2 代码示例参数说明 参数 类型 说明 command string 配置Go项目构建命令。更多命令使用方法可参考Go官网。 ignore_fail string 用于控
费用账单 您可以在“费用中心 > 账单管理”查看资源的费用账单,以了解该资源在某个时间段的使用量和计费信息。 账单上报周期 包年/包月计费模式的CodeArts Build套餐完成支付后,会实时上报一条账单到计费系统进行结算。 查看指定订单账单 登录管理控制台。 在页面上方选择“费用
depth: 100 tag: ${tag} path: test 表2 单仓下载代码示例参数说明 参数 类型 说明 scm string 填写代码源:当前只支持Repo,如果yaml文件中没配置,则使用构建任务配置的代码仓信息。 默认值:codehub。
tar -zcvf demo.tar.gz ./** ignore_fail: true 表2 代码示例参数说明 参数 类型 说明 command string 配置Yarn命令。更多命令使用方法可参考Yarn官网。 ignore_fail string 用于控
connectionTimeout=800000 ignore_fail: true 表2 代码示例参数说明 参数 类型 说明 command string 配置Gradle命令。更多命令使用方法可参考Gradle官网。 gradle string 根据用户
执行计划:可配置触发事件(持续集成)和定时执行。 修改历史:可查看构建任务的修改记录。 权限管理:可配置不同角色的权限。 通知:可配置任务事件类型通知信息(包括任务构建成功、失败、删除、配置更新、被禁用)。 根据需要选择对应页签并进行编辑,单击“保存并执行 > 保存”完成修改。 删除构建任务
command: ./instrumented.apk ignore_fail: true 表2 代码示例参数说明 参数 类型 说明 flutter string 根据用户实际开发环境的需要,选择对应的Flutter版本。 CodeArts Build支持的工具版
附加请求头字段,如指定的URI和HTTP方法所要求的字段。例如,定义消息体类型的请求头“Content-Type”,请求鉴权信息等。 如下公共消息头需要添加到请求中。 Content-Type:消息体的类型(格式),必选,默认取值为“application/json”,有其他取值时会在具体接口中专门说明。