检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
DDDDDDDD.git", "detail_url" : "https://alpha.devcloud.inhuawei.com/repo/487773/home" } ], "total_count" : 100 }, "status" : "success
Logger(FILE_LOG) def make_request(url, data={}, headers={}, method='GET'): headers["Content-Type"] = 'application/json' headers['Accept-Charset
取值范围: success,表示接口调用成功。 failed,表示接口调用失败。
committed_date" : "2019-10-15 09:40:29", "committer_name" : "repo", "committer_email" : "repo@huawei.com" } ] }, "status" : "success
endpoint}/v2/repositories/907199/commit_lines 响应示例 状态码: 200 OK { "result" : { "additions" : 9, "deletions" : 6 }, "status" : "success
false, "note_events" : false, "pipeline_events" : false, "wiki_page_events" : false, "build_events" : null }, "status" : "success
"https_url" : "https://repo.alpha.devcloud.inhuawei.com/chentest00001/javaMavenDemo.git" } ], "total" : 100 }, "status" : "success
commit_id" : "a772945ec2765e322cc83e0f467f394effa22cf3", "last_commit_id" : "a772945ec2765e322cc83e0f467f394effa22cf3" }, "status" : "success
commit_id" : "a772945ec2765e322cc83e0f467f394effa22cf3", "last_commit_id" : "a772945ec2765e322cc83e0f467f394effa22cf3" } ], "status" : "success
committed_date" : "2019-10-15 09:40:29", "committer_name" : "repo", "committer_email" : "repo@huawei.com" } ] }, "status" : "success
取值范围: success,表示接口调用成功。 failed,表示接口调用失败。 表5 Error 参数 参数类型 描述 code String 参数解释: 调用此接口失败时返回的错误码。 取值范围: CH.10000,系统繁忙,请稍后再试。
"status" : "running", "web_url" : "https://test.com/Pipeline_Beta_sdcs00001/202107171926/pipelines/292811" } }, "status" : "success
"2019-10-15 09:40:26", "projectId" : "4838955a48e2492bbe44b31bc4c272f6", "projectIsDelete" : "false" } ], "status" : "success
"https_url" : "https://codehub.alpha.devcloud.intest.com/chentest00001/javaMavenDemo.git" } ], "total" : 100 }, "status" : "success
{ "repositoryUuid" : "9a780fd55cd64333b668ba26132629d2", "projectUuid" : "278a03286efe45c6b788122bfc166976" }, "status" : "success
DDDDDDDD.git", "detail_url" : "https://alpha.devcloud.intest.com/codehub/487773/home" } ], "total_count" : 100 }, "status" : "success
a618e34bd5704be3ae3395dfede06041", "project_uuid": "a689e057c2304abfa35d4ff65630a90a", "project_is_deleted": "false" } ] }, "status": "success
取值范围: success,表示接口调用成功。 failed,表示接口调用失败。 表4 Error 参数 参数类型 描述 code String 参数解释: 调用此接口失败时返回的错误码。 取值范围: CH.10000,系统繁忙,请稍后再试。
如果选择“AccessToken认证”,需要使用有仓库管理员权限的账号在GitHub创建的Access Token,可参考获取Access Token。 父主题: 迁移第三方Git仓到Repo
在执行步骤3时,Git Bash报错“fatal: unable to access 'https://xxx.git/": Recy failure: Connection was reset”,表示域名解析错误,解决办法请参考常见问题。