检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
String 用户id user_name String 用户名 nick_name String 昵称 update_at String 更新时间 状态码:400 表6 响应Body参数 参数 参数类型 描述 error_code String 错误码 error_msg String
参数名字 表6 CreateBuildTimeout 参数 是否必选 参数类型 描述 limit 否 String 超时时间数值 unit 否 String 超时时间单位 表7 CreateBuildJobScm 参数 是否必选 参数类型 描述 branch 否 String 代码分支
String 任务id build_number Integer 构建编号 start_time String 构建开始时间 end_time String 构建结束时间 result String 构建结果 状态码:400 表6 响应Body参数 参数 参数类型 描述 error_code
String 参数名字 表9 CreateBuildTimeout 参数 参数类型 描述 limit String 超时时间数值 unit String 超时时间单位 表10 CreateBuildJobScm 参数 参数类型 描述 branch String 代码分支 url String
Downloading binary from https://github.com/sass/node-sass/releases/download/v4.14.1/linux-x64-72_binding.node Cannot download "https://github.com/sa
构建任务所在项目的ID project_name String 构建任务所在项目的名称 last_build_time Number 最新执行时间 health_score Integer 健康分值 source_code String 代码来源 last_build_status String
job_creator String 任务创建者 user_name String 用户名称 last_build_time Number 最新执行时间 health_score Integer 健康分值 source_code String 代码来源 last_build_status String
包年/包月编译构建服务从购买到被自动删除之前,您可以随时在编译构建服务控制台为CodeArts Build套餐续费,以延长编译构建服务的使用时间。 在编译构建控制台续费 登录管理控制台。 单击左侧导航栏的图标,选择“开发与运维 > 编译构建CodeArts Build”。 单击页面右上角“续费”。
加如下命令: 1 npm config set registry https://repo.xxcloud.com/repository/npm/ 或 npm config set registry https://registry.npm.taobao.org 重新执行构建任务。
镜像仓地址: 1 npm config set registry https://repo.xxcloud.com/repository/npm/ 或 npm config set registry https://registry.npm.taobao.org 单击“保存并执行”,重新执行构建任务。
String 模板类别 public Boolean 模板是否公开 name String 模板命名 create_time String 创建时间 domain_id String domainId weight Double 权重 user_id String 用户id user_name
获取项目ID 调用API获取项目ID 项目ID通过调用查询指定条件下的项目信息API获取。 获取项目ID的接口为“GET https://{Endpoint}/v3/projects/”,其中“{Endpoint}”为IAM的终端节点,您可以从地区和终端节点中获取。接口的认证鉴权请参见认证鉴权。
String 构建任务名称 build_number Integer 构建编号 start_time String 构建开始时间 end_time String 构建结束时间 result String 构建执行结果 commit_id String commitId 状态码:400 表5
API Explorer在线调试请参见: https://console.huaweicloud.com/apiexplorer/#/openapi/CodeArtsBuild/doc?api=RunJob 请求示例 POST https://cloudbuild-ext.cn-north-1
resource.transport.http.HttpErrorStatusCodeException: Could not GET 'https://jcenter.bintray.com/org/apache/commons/commons-compress/1.8.1/commons-compress-1
Build的数据安全可靠。 表1 CodeArts Build的数据保护手段和特性 数据保护手段 简要说明 详细介绍 传输加密(HTTPS) CodeArts Build所有API均采用HTTPS传输协议。 构造请求 个人数据保护 CodeArts Build通过控制个人数据访问权限以及通过云审计服务
子任务名称 build_duration Integer 子任务构建耗时 start_time String 子任务开始时间 finish_time String 子任务结束时间 build_no String 子任务构建编号 状态码:400 表7 响应Body参数 参数 参数类型 描述 error_code
执行构建任务时,拉取dockerhub镜像超时/次数限制,日志报如下异常信息: Error response from daemon: Get https://registry.docker-cn.com/v2/: net/http: request canceled while waiting
响应Body参数 参数 参数类型 描述 error_code String 错误码 error_msg String 错误描述 请求示例 GET https://{endpoint}/v1/record/d7292509-18a9-4d7e-b503-25d327bc09cf/build-script
<argument>set</argument> <argument>registry</argument> <argument>https://mirrors.xxcloud.com/repository/npm/</argument> </arguments>