检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
执行任务ID为“f9d6c8466d614a9788e9a0acf6c15f46”,代码仓名称为“codeBranch”,代码仓分支为“master”的构建任务 POST https://{endpoint}/v3/jobs/build { "job_id" : "f9d6c8466d614a9788e9a0acf6c15f46"
响应Body参数 参数 参数类型 描述 error_code String 错误码 error_msg String 错误描述 请求示例 POST https://{endpoint}/v1/record/{job_id}/build-info-record 响应示例 状态码:200 OK {
响应Body参数 参数 参数类型 描述 error_code String 错误码 error_msg String 错误描述 请求示例 GET https://{endpoint}/v1/template/officialtemplates 响应示例 状态码:200 OK { "result"
响应Body参数 参数 参数类型 描述 error_code String 错误码 error_msg String 错误描述 请求示例 GET https://{endpoint}/v1/job/list 响应示例 状态码:200 OK { "result" : { "total"
响应Body参数 参数 参数类型 描述 error_code String 错误码 error_msg String 错误描述 请求示例 GET https://{endpoint}/v1/template/custom?name=test&filter=&page=1&page_size=10
String 请求体 请求参数 无 响应参数 状态码:200 表2 响应Body参数 参数 参数类型 描述 - File - 请求示例 GET https://{endpoint}/v1/image/dockerfile-template?image_id=e1579739-cd2e-11
inputs: command: | pip config set global.index-url https://pypi.org/simple pip config set global.trusted-host repo
使用SWR公共镜像时拉取镜像无权限 问题现象 执行构建任务时,日志报如下异常信息: Get https://swr.example.example.com/v2/codeciexample-test/demo/manifests/v1.1: denied: You may not
manifest_checkout: name: "manifest" inputs: manifest_url: "https://example.example.example.example.example.com/xx/manifest.git"
响应Body参数 参数 参数类型 描述 error_code String 错误码 error_msg String 错误描述 请求示例 GET https://{endpoint}/v1/record/{job_id}/{build_no}/record-info 响应示例 状态码:200
0,其他版本请直接替换命令中的2.0.0)。 powershell -Command Invoke-WebRequest -UseBasicParsing https://dotnetcli.blob.core.windows.net/dotnet/Sdk/2.0.0/dotnet-sdk-2.0.0-win-x64
参数 参数类型 描述 error_code String 错误码 error_msg String 错误描述 请求示例 DELETE https://{endpoint}/v1/job/recycling-empty 响应示例 状态码:200 OK { "status" : "success"
cn-northeast-1 cloudbuild-ext.cn-northeast-1.myhuaweicloud.com 基本概念 账号 用户注册华为云时的账号,账号对其所拥有的资源及云服务具有完全的访问权限,可以重置用户密码、分配用户权限等。由于账号是付费主体,为了确保账号安全,建
内置执行机:编译构建服务自身提供的执行主机,用户无需配置即可开箱即用。执行机默认规格为2U8G。 自定义执行机:用户自行提供表1的计算资源,通过注册的方式托管到编译构建服务中,通过编译构建服务进行调度并执行构建任务。 可根据实际情况选择内置执行机或自定义执行机,自定义执行机为在资源池中
响应Body参数 参数 参数类型 描述 error_code String 错误码 error_msg String 错误描述 请求示例 POST https://{endpoint}/v3/templates/create { "name" : "example", "description"
响应Body参数 参数 参数类型 描述 error_code String 错误码 error_msg String 错误描述 请求示例 GET https://{endpoint}/v2/keystore/download 响应示例 无 状态码 状态码 描述 200 OK 400 Bad Request
参数 参数类型 描述 error_code String 错误码 error_msg String 错误描述 请求示例 DELETE https://{endpoint}/v1/job/recycling-deletion { "job_ids" : [ "f9d6c846
使用自定义执行机执行Maven构建(自定义执行机/图形化构建) 当编译构建服务提供的内置执行机构建环境不满足业务要求时,您可接入自行提供的计算资源,通过注册的方式托管到编译构建服务中,委托编译构建服务进行调度并执行构建任务。本实践我们通过“Maven构建”和“上传软件包到软件发布库”两个构建步骤来演示使用自定义执行机的构建场景。
响应Body参数 参数 参数类型 描述 error_code String 错误码 error_msg String 错误描述 请求示例 GET https://{endpoint}/v1/record/901878212b1a49be9c1a1054c272762a/full-stages
响应Body参数 参数 参数类型 描述 error_code String 错误码 error_msg String 错误描述 请求示例 POST https://{endpoint}/v1/template/a7cd110ab0a542fdbe21fa9b35c6a482/delete {