检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
处理方法 下载对应版本的SDK(例:2.0.0,其他版本请直接替换命令中的2.0.0)。 powershell -Command Invoke-WebRequest -UseBasicParsing https://dotnetcli.blob.core.windows.net/dotnet/Sdk/2
获取构建任务配置的对比差异 设置回收站中的任务保留时间 查看回收站中删除的构建任务列表 删除回收站中的任务 清空回收站中的任务 恢复回收站中的任务 检查webhook地址参数 获取当前项目默认角色权限矩阵信息 获取修改历史 复制任务名 查看系统预定义参数 停止构建任务v1 检查任务数量是否上限 执行构建
com:soso-test00001/an.git", RepoId: &repoIdScms, WebUrl: &webUrlScms, ScmType: "codehub", IsAutoBuild:
String 构建编号,每日从1开始 code_branch String 代码仓分支 scm_type String 代码源类型 scm_web_url String 代码源地址 commit_detail_url String 代码提交记录信息地址(代码源为Repo) 表4 commit_info
最后一次构建用户 trigger_type String 触发类型 build_time String 构建时间 scm_web_url String 代码仓web地址 scm_type String 代码仓类型 repo_id String 代码仓ID build_project_id
参数 参数类型 描述 branch String 代码分支 url String 代码仓地址 repo_id String repo的id web_url String 代码仓http地址 scm_type String 仓库类别,Repo、Github等 is_auto_build
com:soso-test00001/an.git", RepoId: &repoIdScms, WebUrl: &webUrlScms, ScmType: "codehub", IsAutoBuild:
String 构建编号,每日从1开始 code_branch String 代码仓分支 scm_type String 代码源类型 scm_web_url String 代码源地址 commit_detail_url String 代码提交记录信息地址(代码源为Repo) 表6 commit_info
String 构建编号,每日从1开始 code_branch String 代码仓分支 scm_type String 代码源类型 scm_web_url String 代码源地址 commit_detail_url String 代码提交记录信息地址(代码源为Repo) 表7 commit_info
描述 branch 否 String 代码分支 url 是 String 代码仓地址 repo_id 是 String repo的id web_url 是 String 代码仓http地址 scm_type 是 String 仓库类别,Repo、Github等 is_auto_build
build_record_type object 构建记录类型 trigger_type String 触发类型 scm_type String 代码源类型 scm_web_url String 代码源地址 user_id String 用户id build_no String 构建编码 daily_build_no
描述 branch 否 String 代码分支 url 是 String 代码仓地址 repo_id 是 String repo的id web_url 是 String 代码仓http地址 scm_type 是 String 仓库类别,Repo、Github等 is_auto_build
描述 branch 否 String 代码分支 url 是 String 代码仓地址 repo_id 是 String repo的id web_url 是 String 代码仓http地址 scm_type 是 String 仓库类别,Repo、Github等 is_auto_build
build_record_type object 构建记录类型 trigger_type String 触发类型 scm_type String 代码源类型 scm_web_url String 代码源地址 user_id String 用户id build_no String 构建编码 daily_build_no
最后一次构建用户 trigger_type String 触发类型 build_time String 构建时间 scm_web_url String 代码仓web地址 scm_type String 代码仓类型 repo_id String 代码仓ID build_project_id
\"b4d3971c3988463b865f6f920846149e/aaa\"\n repoName: \"Unit\"\n webUrl: \"https://devcloud.cn-north-7.huawei.com/codehub/2111898074/home\"\n
一种代码源;如果为非公开仓库,username&password应该有下载权限。 repo_url对应的repo仓库,需要有下载权限(仓库开源,或者仓库私有但配置了账号密码)。 以上非必填的参数,如果配置的值为空,则使用默认值。 建议在使用非公开仓库时,用户名密码通过构建的私密参数进行配置,详情参考配置构建任务参数。
commit_id String 代码提交ID trigger_type String 触发类型 build_time Number 执行时间 scm_web_url String 代码源地址 scm_type String 仓库类别,Repo、Github等 repo_id String repo的id
ttings settings.xml,即可使用已添加的“settings.xml”文件执行Maven构建。 公有依赖仓库:默认已添加华为开源镜像站,同时配置了HuaweiSDK仓库。此配置仅在需要添加非CodeArts提供的公有依赖仓库时使用,添加方法如下: 单击“添加”。 填