检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
高级配置对应的名称 value String 高级配置对应的取值 option_value String 高级配置对应的可选项 description String 高级配置对应的中文描述 状态码: 400 表6 响应Body参数 参数 参数类型 描述 error_code String
"c131886aec...", "name": "IAMUser", "description": "IAM User Description", "areacode": "", "phone": "",
检查参数默认值 option_value String 检查参数可选项 is_required Integer 0:非必填,1:必填 description String 检查参数说明 type Integer 参数类型,0:文本,2:有可选项 status String 参数状态,on:启用,off:未启用
检查参数默认值 option_value String 检查参数可选项 is_required Integer 0:非必填,1:必填 description String 检查参数说明 type Integer 参数类型,0:文本,2:有可选项 status String 参数状态,on:启用,off:未启用
自定义,支持中文、英文、数字、“-”、“_”、“.”、空格,不超过256个字符。例如:Endpoint01。 Git仓库Url 输入待连接的Git仓库的https地址。 用户名 输入待连接的Git仓库的用户名,不超过300个字符。 密码或Access Token 输入待连接的Git仓库的密码,不超过300个字符。
log_info Array of LogInfo objects 日志信息 表5 ParamInfo 参数 参数类型 描述 url String 仓库地址 branch String 仓库分支 language String 仓库语言 exclude_dir String 排除的目录 encode
执行代码检查任务时提示:CC.00070400.500 单击任务名称时提示权限不足 C#前端使用WPF组件的项目检查失败 任务执行完成后没有数据 TypeScript任务检查失败,日志显示404
代码检查服务入门实践 当用户开通代码检查服务后,可以根据不同的业务场景灵活使用。 本文介绍常见的代码检查实践。 表1 代码检查服务常用最佳实践 实践 描述 使用系统预置规则检查通用Git代码仓中的代码质量 以通用Git代码源为例,介绍如何创建通用Git代码检查任务。
great security risks. It is recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted
great security risks. It is recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted
great security risks. It is recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted
变更代码检查服务规格 变更代码检查服务套餐规格 代码检查服务支持变更套餐规格,变更影响请参见变更配置后对计费的影响。 登录代码检查控制台。 找到代码检查服务套餐,单击“变更”。 根据需要选择变更规格、变更类型,勾选同意声明,单击“下一步”。 若变更类型选择“续费变更”,则还需要选择续费时长。
个人开发者和小微企业首选。 代码检查并发数量:5个 支持10+种基础语言代码质量检查:Java/C++/JavaScript/Go/Python/C#/TypeScript/CSS/HTML/PHP/LUA/RUST/Shell/KOTLIN/SCALA/ArkTS 支持质量类(含风格类)规则
检查完成后,通过邮件通知和消息通知相关人员检查结果,便于进行及时处理。 多种语言的代码检查 包括Java/C++/JavaScript/Go/Python/C#/TypeScript/CSS/HTML/PHP/LUA/RUST/Shell/KOTLIN/SCALA/ArkTS/SQL。 CodeArts
great security risks. It is recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted
当前规则配置项key option_name 否 String 当前规则配置项名称 template_id 否 String 规则集id description 否 String 描述 响应参数 状态码: 201 表6 响应Body参数 参数 参数类型 描述 template_id String
华南-广州,华南-深圳,西南-贵阳一 代码检查计费说明 规则集设置 代码检查默认支持Java、C++、PHP、C#、JS、TypeScript、HTML、CSS、Go和Python语言的规则集,且每种语言类型对应多种不同级别的规则集。 代码检查除了默认规则集类型外,还可以根据实
great security risks. It is recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted
great security risks. It is recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted
"name": "cn-north-4", "description": "", "links": { "next": null,