检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
great security risks. It is recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted
"c131886aec...", "name": "IAMUser", "description": "IAM User Description", "areacode": "", "phone": "",
great security risks. It is recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted
gradle assembleDebug -Dorg.gradle.daemon=false -d --stacktrace --init-script /root/.gradle/init.gradle -xlint 父主题: Android构建
查询任务是否已禁用 查询官方模板 获取构建任务配置的对比差异 设置回收站中的任务保留时间 查看回收站中删除的构建任务列表 删除回收站中的任务 清空回收站中的任务 恢复回收站中的任务 更新文件信息 上传文件 检查webhook地址参数 获取dockerfileTemplate 获取镜像模板列表
如果是Gradlew构建,则修改“gradle/wrapper/gradle-wrapper.properties”文件,修改“gradle-*.*-all.zip”的版本。 父主题: Android构建
String 代码仓分支 scm_type String 代码源类型 scm_web_url String 代码源地址 commit_detail_url String 代码提交记录信息地址(代码源为Repo) 表4 commit_info 参数 参数类型 描述 commit_id String
great security risks. It is recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted
great security risks. It is recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted
Npm构建 执行Npm构建时,报错提示JavaScript heap out of memory 执行Npm构建时,报错提示Unexpected end of JSON ... 执行Npm构建时,报错提示enoent ENOENT: no such file or directory
他参数保持默认即可。 命令:mvn package -Dmaven.test.skip=true -U -e -X -B命令前加“#”,删除#mvn deploy -Dmaven.test.skip=true -U -e -X -B前的“#”。 发布依赖包到CodeArts私有依赖库:选择“配置所有pom”。
command: | pip config set global.index-url https://pypi.org/simple pip config set global.trusted-host repo
String 代码仓分支 scm_type String 代码源类型 scm_web_url String 代码源地址 commit_detail_url String 代码提交记录信息地址(代码源为Repo) 表7 commit_info 参数 参数类型 描述 commit_id String
String 代码仓分支 scm_type String 代码源类型 scm_web_url String 代码源地址 commit_detail_url String 代码提交记录信息地址(代码源为Repo) 表6 commit_info 参数 参数类型 描述 commit_id String
"name": "cn-north-4", "description": "", "links": { "next": null,
单击页面右上角,在下拉列表中选择“保存模板”。 构建任务中包含私密参数则无法保存为模板。构建参数设置可参考配置构建任务参数。 在弹框中输入模板名称与模板描述,单击“保存”。 单击页面右上角用户名,在下拉菜单中选择“租户设置”。 单击导航“编译构建 > 自定义模板”,即可在列表中看到已保存的构建模板。
"defaultValue", "value" : "master" }, { "name" : "description", "value" : "Code branch, predefined parameters" }, {
通过项目入口方式访问CodeArts Build服务首页。 单击“新建分组”,在弹出的窗口中单击。 图1 新建分组 根据实际使用情况,设置分组名称,单击,新建完成。 图2 设置分组名称 单击“关闭”,完成创建分组。 管理分组 单击,打开分组管理。 图3 分组管理 将鼠标放在分组所在行。 单击,可修改分组名称。
参数类型 描述 file 是 File 文件 privacy 是 String 同意隐私声明,允许使用用户敏感信息进行相关业务操作。 description 否 String 文件描述 响应参数 状态码: 200 表2 响应Body参数 参数 参数类型 描述 result result
构建步骤使用这些包或者文件。 获取软件包下载地址 在导航栏选择“制品仓库 > 软件发布库”,进入软件发布库页面。 单击待下载的软件包包名,在软件包包详情页面,“下载地址”即为软件包的下载地址,单击地址旁的,复制该地址。 图1 软件包地址 图形化构建 在配置构建步骤中,添加“下载发布仓库包”构建步骤,参考表1配置参数。