检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
CommitID在代码仓库中显示如图1。 图1 CommitID 克隆深度 可选参数。 克隆深度是指距离最近一次提交的提交次数,该值越大,检出代码的深度越深。深度为正整数,推荐最大深度为25。 例如:克隆深度5就表示只克隆最新5次提交记录以及提交之后的最新内容,不克隆历史提交。 子模块(submodules)自动更新
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
is_auto_build 否 Boolean 是否自动构建 build_type 否 String 构建类别 depth 否 String 克隆深度 end_point_id 否 String endpointId source 否 String source 表7 CreateBuildJobSteps
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
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
责任共担 华为云秉承“将公司对网络和业务安全性保障的责任置于公司的商业利益之上”。针对层出不穷的云安全挑战和无孔不入的云安全威胁与攻击,华为云在遵从法律法规业界标准的基础上,以安全生态圈为护城河,依托华为独有的软硬件优势,构建面向不同区域和行业的完善云服务安全保障体系。 安全性是华为云与您的共同责任,如图1所示。
lfs,非必填,默认值false。 submodule:是否拉取子模块,非必填,默认值false。 depth:浅克隆深度。选择commitId构建时,depth必须大于等于commitId所在深度,非必填,默认值1。 tag:tag构建时拉取的tag名,如果commit和tag同时存在,优先执行commit构建,非必填。
使用前必读 欢迎使用编译构建服务(CodeArts Build)。编译构建服务为开发者提供配置简单的混合语言构建平台,实现编译构建云端化,支撑企业实现持续交付,缩短交付周期,提升交付效率。支持编译构建任务一键创建、配置和执行,实现获取代码、构建、打包等活动自动化,实时监控构建状态