检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
Build通过控制个人数据访问权限以及通过云审计服务记录操作日志等方法,防止个人数据泄露,保证您的个人数据安全。 云审计服务支持的操作列表 隐私数据保护 涉及到用户的数据库账号信息需要存储时,提供敏感数据加密存储,支持加密密钥轮换更新。 - 数据清理 用户构建时敏感数据,构建完成后立即清理。 - 数据备份 支持用户数据备份。
QueryTemplatesItems 参数 参数类型 描述 favourite Boolean 是否收藏模板 nick_name String 昵称 id String 数据库中id uuid String uuid template QueryTemplate object 构建步骤模板,需封装为驼峰式命名 type
QueryTemplatesItems 参数 参数类型 描述 favourite Boolean 是否收藏模板 nick_name String 昵称 id String 数据库中id uuid String uuid template QueryTemplate object 构建步骤模板,需封装为驼峰式命名 type
获取任务构建记录列表。 调用方法 请参见如何调用API。 URI GET /v3/jobs/{job_id}/build-info-records 表1 路径参数 参数 是否必选 参数类型 描述 job_id 是 String 参数解释: 填写构建任务ID。获取方法:在构建任务详情页
生成Postgres and Redis Dockerfile 通过shell命令生成Dockerfile文件,用以制作Postgres(数据库)和Redis(缓存)镜像。 制作Postgres镜像并推送到SWR仓库 依据“生成Postgres and Redis Dockerfi
result objects 结果 status String 返回状态信息 表3 result 参数 参数类型 描述 id Integer 数据库中ID role_id Integer 角色ID role_name String 角色名 job_id String 任务ID is_modify
参数类型 描述 job_update_records Array of job_update_records objects job_update_records total Integer 总数 表5 job_update_records 参数 参数类型 描述 id String 修改编号
QueryTemplatesItems 参数 参数类型 描述 favourite Boolean 是否收藏模板 nick_name String 昵称 id String 数据库中id uuid String uuid template QueryTemplate object 构建步骤模板,需封装为驼峰式命名 type
获取指定工程的构建记录列表 调用方法 请参见如何调用API。 URI GET /v1/record/{build_project_id}/records 表1 路径参数 参数 是否必选 参数类型 描述 build_project_id 是 String 构建工程项目ID,36位数字、小写字母组合。
参数类型 描述 total Integer 记录总数 history_records Array of history_records objects 构建历史列表 表5 history_records 参数 参数类型 描述 record_id String 构建记录id--唯一key
表4 CreateTemplatesItems 参数 参数类型 描述 favourite Boolean 是否收藏模板 id String 数据库中id uuid String uuid template QueryTemplate object 构建步骤模板,需封装为驼峰式命名 type
表9 CreateTemplatesItems 参数 参数类型 描述 favourite Boolean 是否收藏模板 id String 数据库中id uuid String uuid template QueryTemplate object 构建步骤模板,需封装为驼峰式命名 type
使用Maven构建 使用Maven构建Java项目。 图形化构建 在配置构建步骤中,添加“Maven构建”构建步骤,参考表1配置参数。 表1 Maven构建步骤参数说明 参数 说明 步骤显示名称 构建步骤的名称,可自定义修改。 支持中文、英文、数字、“-”、“_”、英文逗号、英文分号、英文冒号、“
级token。 取值范围: 不涉及。 响应参数 状态码: 200 表4 响应Body参数 参数 参数类型 描述 history_records Array of HistoryRecord objects 构建历史列表 total Integer 记录总数 表5 HistoryRecord
配置构建环境 配置构建任务全局运行环境。 编译构建服务支持使用自定义执行机,支持的自定义执行机类型有LINUX、LINUX_DOCKER、WINDOWS和MAC,各个类型支持的构建场景可参考表1,用户可根据实际需求选择使用的执行机类型。 表1 各个类型执行机的使用说明 执行机类型