检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
package main import ( "fmt" "github.com/huaweicloud/huaweicloud-sdk-go-v3/core/auth/basic" codeartspipeline "github.com/huaweicloud/huaweic
"http_url" : "https://example.com/test00001/maven.git", "git_url" : "git@example.com:test00001/maven.git", "branch" : "master", "language" : "python"
定时任务触发,RollBack - 回滚执行,以及WebHook类型:CreateTag - Tag 触发,Note - Gitee仓库评论触发,Issue - Gitee 仓库Issue触发,MR - 合并请求触发,Push - 代码push触发。 build_params build_params
package main import ( "fmt" "github.com/huaweicloud/huaweicloud-sdk-go-v3/core/auth/basic" codeartspipeline "github.com/huaweicloud/huaweic
"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" : "aaaaaa", "main_branch"
"http_url" : "https://example.com/test00001/maven.git", "git_url" : "git@example.com:test00001/maven.git", "feature_branch" : "aaa", "main_branch"
package main import ( "fmt" "github.com/huaweicloud/huaweicloud-sdk-go-v3/core/auth/basic" codeartspipeline "github.com/huaweicloud/huaweic
"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" : "aaa", "main_branch"
源参数 表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"
"http_url" : "https://example.com/test00001/maven.git", "git_url" : "git@example.com:test00001/maven.git", "feature_branch" : "aaa",
"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
package main import ( "fmt" "github.com/huaweicloud/huaweicloud-sdk-go-v3/core/auth/basic" codeartspipeline "github.com/huaweicloud/huaweic
取值范围: 可选codehub,gitee,github,gitcode,gitlab。 默认取值: 不涉及。 is_auto_commit Boolean 参数解释: 是否自动提交。gitee仓库特有,webhook触发流水线后,自动添加评论。 约束限制: 不涉及。 取值范围: true
参数类型 描述 git_type String 参数解释: 代码仓类型。 取值范围: 可选codehub,gitee,github,gitcode,gitlab。 git_url String 参数解释: 代码仓https地址。 取值范围: 不涉及。 ssh_git_url String
required 问题现象 执行变更流水线时,流水线上的创建集成分支执行失败,提示authentication required。 原因分析 变更流水线需配置Repo HTTPS授权以提升代码库操作权限,新建CodeArts Repo HTTPS服务扩展点时如果用户名密码填写错误,会导致变更流水线执行失败。
"codeHubId" : "5224040", "gitUrl" : "git@example.com:CloudPipelineTest-Copy00001/fdfdfdf.git", "webUrl" : "https://example.