检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
缺陷结束行 code_context_start_line Integer 缺陷开始行 main Boolean 代码片段 path String 路径 tag String 标签 main_buggy_code String 主事件对应的代码片段 code_context String
getTaskBasicInfo failed 调用getTaskBasicInfo接口异常 待会重试或者联系客服 200 CC.00050015 task is running 任务正在执行,稍后重试 稍后重试 200 CC.00050016 create task failed 新建任务出错!创建未成功!
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
ae12056478a7919f", "creatorName":"name", "domainId":"78d0e09c1ad0425b9b4f3a8fdd066164", "domainName":"name", "gitUrl":"git@xxxxx/portal-ts.git"
"projects": [ { "domain_id": "65382450e8f64ac0870cd180d14e684b", "is_domain": false, "parent_id": "
查日志 调用方法 请参见如何调用API。 URI GET /v2/{project_id}/tasks/{task_id}/log-detail 表1 路径参数 参数 是否必选 参数类型 描述 project_id 是 String 项目ID,每个CodeArts首页下的项目都有1个唯一的项目ID
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
"domain_id": "accountid", "name": "username", "password": "**********", "email": "email", "description":
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
"2024-05-21T09:03:41.000000", "domain_id": "d78cbac1..........", "xdomain_id": "30086000........", "xdomain_type": "", "default_project_id":
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
表2 Query参数 参数 是否必选 参数类型 描述 config_list 否 String 配置项名称列表,当前可选:customImage,includePaths,authId,reviewData,taskName,不建议同时查询多个配置项 offset 否 Integer
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
"即为生成的调用命令。 图2 生成API调用命令 参考4,依次获得查询任务执行状态(ShowProgressDetail)、查询缺陷概要(ShowTaskDetail)API的调用命令。 在Jenkins工具中调用代码检查API 编写流水线脚本,代码示例如下。 pipeline {