检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
"http_url" : "https://example.com/test00001/maven.git", "git_url" : "git@example.com:test00001/maven.git", "branch" : "master", "language"
"http_url" : "https://example.com/test00001/maven.git", "git_url" : "git@example.com:test00001/maven.git", "feature_branch" : "aa", "main_branch"
"manifest_version" : "3" }, { "name" : "official_git_clone", "display_name" : "official_git_clone", "plugin_attribution" : "official",
"http_url" : "https://example.com/test00001/maven.git", "git_url" : "git@example.com/test00001/maven.git", "feature_branch" : "aaa", "main_branch"
"codeHubId" : "5224040", "gitUrl" : "git@example.com:CloudPipelineTest-Copy00001/fdfdfdf.git", "webUrl" : "https://example.com/codehub/p
"http_url" : "https://example.com/test00001/maven.git", "git_url" : "git@example.com:test00001/maven.git", "feature_branch" : "aaa",
参数 是否必选 参数类型 描述 git_type 是 String GIT仓库类型 codehub_id 是 String CODEHUB仓库ID default_branch 是 String 默认分支 git_url 是 String GIT仓库下载链接 alias 否 String
true, // 是否开启远程搜索 remoteName: 'tt', // 开启远程搜索时搜索字段 remoteQureyField: 'body', // 远程搜索字段传参形式 body/params responseUrl:
"http_url" : "https://example.com/test00001/maven.git", "git_url" : "git@example.com:test00001/maven.git", "branch" : "master", "language"
源参数 表5 params 参数 是否必选 参数类型 描述 git_type 是 String 参数解释: 代码仓类型。 约束限制: 不涉及。 取值范围: 目前支持codehub,gitee,github,gitcode,gitlab代码仓类型。 默认取值: 不涉及。 alias 否
com/LmhTest00001/maven.git", "git_url" : "git@codehub.devcloud.cn-north-5.huaweicloud.com:LmhTest00001/maven.git", "branch" : "master"
"codehub_id" : "2111677704", "git_url" : "https://example.com/clsyz00001/aaaaa.git" }, "artifact_params" : null, "start_time"
"http_url" : "https://example.com/test00001/maven.git", "git_url" : "git@example.com:test00001/maven.git", "feature_branch" : "aaa",
参数类型 描述 git_type String 参数解释: 代码仓类型。 取值范围: 可选codehub,gitee,github,gitcode,gitlab。 git_url String 参数解释: 代码仓https地址。 取值范围: 不涉及。 ssh_git_url String
取值范围: 可选codehub,gitee,github,gitcode,gitlab。 默认取值: 不涉及。 is_auto_commit Boolean 参数解释: 是否自动提交。gitee仓库特有,webhook触发流水线后,自动添加评论。 约束限制: 不涉及。 取值范围: true,false。
认证证书 合规证书 华为云服务及平台通过了多项国内外权威机构(ISO/SOC/PCI等)的安全合规认证,用户可自行申请下载合规资质证书。 图1 合规证书下载 资源中心 华为云还提供以下资源来帮助用户满足合规性要求,具体请查看资源中心。 图2 资源中心 销售许可证&软件著作权证书
http_url String 仓库HTTP地址 git_url String 仓库GIT地址 branch String 分支 language String 语言 endpoint_id String 端点ID 请求示例 GET https://{endpoint}/v2/2d09f
package main import ( "fmt" "github.com/huaweicloud/huaweicloud-sdk-go-v3/core/auth/basic" codeartspipeline "github.com/huaweicloud/huaweic
package main import ( "fmt" "github.com/huaweicloud/huaweicloud-sdk-go-v3/core/auth/basic" codeartspipeline "github.com/huaweicloud/huaweic
sort_dir 否 String 排序方式。asc按排序字段升序,desc按排序字段降序 git_url 否 String 代码仓地址。仅支持codehub仓库,如:git@codehub.XXX.git offset 否 Integer 偏移量。表示从此偏移量开始查询,offset大于等于0,默认取值为0