检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
<argument>set</argument> <argument>registry</argument> <argument>https://mirrors.xxcloud.com/repository/npm/</argument> </arguments>
/v3/jobs/build API文档详情请参见:执行构建任务 API Explorer在线调试请参见: 执行构建任务 请求示例 POST https://cloudbuild-ext.cn-north-1.myhuaweicloud.com/v3/jobs/build 请求体示例 {
npm config set registry=https://repo.huaweicloud.com/repository/npm/ npm config set @ohos:registry=https://repo.harmonyos.com/npm/
响应Body参数 参数 参数类型 描述 error_code String 错误码 error_msg String 错误描述 请求示例 POST https://{endpoint}/v1/job/check/webhook-url { "job_id" : "2f211929d0c5
ABCDEFJ....”,则调用接口时将“X-Auth-Token: ABCDEFJ....”加到请求消息头即可,如下所示。 GET https://iam.cn-north-1.myhuaweicloud.com/v3.0/OS-USER/users Content-Type:
响应Body参数 参数 参数类型 描述 error_code String 错误码 error_msg String 错误描述 请求示例 GET https://{endpoint}/v1/record/41f0e24d-d435-4f80-88cd-19dba310f845/info 响应示例
响应Body参数 参数 参数类型 描述 error_code String 错误码 error_msg String 错误描述 请求示例 GET https://{endpoint}/v1/record/a3270d84-ddc7-4288-b985-f801871b260d/records
录”。 选择VNC登录方式。 登录成功后,输入购买Windows服务器时预置的密码,登录到Windows系统桌面。 浏览器地址栏输入“https://www.java.com/zh-CN/”,访问该网站。 在浏览器页面单击“下载Java”。 在下载页面,单击“Download Java”下载安装包。
响应参数 状态码: 200 表2 响应Body参数 参数 参数类型 描述 - File dockerfile模版文件 请求示例 GET https://{endpoint}/v1/image/dockerfile-template?image_id=e1579739-cd2e-11
manifest_checkout: name: "manifest" inputs: manifest_url: "https://example.example.example.example.example.com/xx/manifest.git"
"codehub", "scm_web_url" : "https://test.huawei.com/codehub/2111750206/home", "commit_detail_url" : "https://test.huawei.com/codehub/2
inputs: command: | pip config set global.index-url https://pypi.org/simple pip config set global.trusted-host repo
响应Body参数 参数 参数类型 描述 error_code String 错误码 error_msg String 错误描述 请求示例 POST https://{endpoint}/v2/resource/countdown 响应示例 状态码: 200 OK { "status" : "success"
使用SWR公共镜像时拉取镜像无权限 问题现象 执行构建任务时,日志报如下异常信息: Get https://swr.example.example.com/v2/codeciexample-test/demo/manifests/v1.1: denied: You may not
"codehub", "scm_web_url" : "https://test.huawei.com/codehub/2111750206/home", "commit_detail_url" : "https://test.huawei.com/codehub/2
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
支持项目创建者、项目经理及有权限的开发人员创建任务/工程模板、复制/删除/禁用任务、查看执行/更新历史、操作回收站实现软硬删除、管理项目成员/构建任务权限、管理数字证书。 支持区域: 华北-北京一,华北-北京四,华东-上海一,华东-上海二,华南-广州,华南-深圳,西南-贵阳一 如何编辑/删除/复制/收藏构建任务
响应Body参数 参数 参数类型 描述 error_code String 错误码 error_msg String 错误描述 请求示例 GET https://{endpoint}/v1/job/901878212b1a49be9c1a1054c272762a/pipeline-info 响应示例
响应Body参数 参数 参数类型 描述 error_code String 错误码 error_msg String 错误描述 请求示例 GET https://{endpoint}/v1/job/check/count 响应示例 状态码: 200 OK { "result" : true
参数 参数类型 描述 error_code String 错误码 error_msg String 错误描述 请求示例 DELETE https://{endpoint}/v1/job/recycling-empty 响应示例 状态码: 200 OK { "status" :