检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
使用Dockerfile制作镜像失败 使用步骤“制作镜像并推送到SWR”或“执行Docker命令”制作镜像时,docker build阶段可能会制作镜像失败,可参考各场景对应解决方案处理: COPY或者ADD指令找不到文件 制作镜像时拉取基础镜像失败 执行命令失败 拉取DockerHub镜像超时或失败
Boolean 是否启用gitlfs build_type 否 String 构建类型,分支构建、TAG构建等 depth 否 String 克隆深度 end_point_id 否 String 通用git等代码拉取扩展点ID source 否 String 来源类型 group_name
Boolean 是否启用gitlfs build_type String 构建类型,分支构建、TAG构建等 depth String 克隆深度 end_point_id String 通用git等代码拉取扩展点ID source String 来源类型 group_name String
Boolean 是否启用gitlfs build_type 否 String 构建类型,分支构建、TAG构建等 depth 否 String 克隆深度 end_point_id 否 String 通用git等代码拉取扩展点ID source 否 String 来源类型 group_name
Boolean 是否启用gitlfs build_type 否 String 构建类型,分支构建、TAG构建等 depth 否 String 克隆深度 end_point_id 否 String 通用git等代码拉取扩展点ID source 否 String 来源类型 group_name
CommitID在代码仓库中显示如图1。 图1 CommitID 克隆深度 可选参数。 克隆深度是指距离最近一次提交的提交次数,该值越大,检出代码的深度越深。深度为正整数,推荐最大深度为25。 例如:克隆深度5就表示只克隆最新5次提交记录以及提交之后的最新内容,不克隆历史提交。 子模块(submodules)自动更新
is_auto_build 否 Boolean 是否自动构建 build_type 否 String 构建类别 depth 否 String 克隆深度 end_point_id 否 String endpointId source 否 String source 表7 UpdateBuildJobSteps
Boolean 是否启用gitlfs build_type String 构建类型,分支构建、TAG构建等 depth String 克隆深度 end_point_id String 通用git等代码拉取扩展点ID source String 来源类型 group_name String
仓库类别,Repo、Github等 is_auto_build Boolean 是否自动构建 build_type String 构建类别 depth String 克隆深度 end_point_id String endpointId source String source 表10 CreateBuildJobSteps
lfs,非必填,默认值false。 submodule:是否拉取子模块,非必填,默认值false。 depth:浅克隆深度。选择commitId构建时,depth必须大于等于commitId所在深度,非必填,默认值1。 tag:tag构建时拉取的tag名,如果commit和tag同时存在,优先执行commit构建,非必填。
is_auto_build 否 Boolean 是否自动构建 build_type 否 String 构建类别 depth 否 String 克隆深度 end_point_id 否 String endpointId source 否 String source 表7 CreateBuildJobSteps