检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
参数 参数类型 描述 result Boolean 构建停止结果 状态码: 400 表4 响应Body参数 参数 参数类型 描述 error_code String 错误码 error_msg String 错误描述 状态码: 401 表5 响应Body参数 参数 参数类型 描述 error_code
历史API接口(待下线) 下载构建日志(待下线) 获取构建记录的有向无环图(待下线) 获取构建记录信息(待下线) 停止构建任务(待下线)
/npmcache 构建命令行输入:npm config set cache /npmcache npm cache clean --force Grunt构建 /npmcache 构建命令行输入:npm config set cache /npmcache npm cache clean
download_file: inputs: name: android22.jks 参数名 参数类型 描述 是否必填 默认值 name string 文件名称。 是 无 父主题: 旧版手册页面
基本概念 表1 编译构建服务基本概念 词汇 定义 执行参数 构建任务运行时才指定值的参数,按照类型分为“自定义参数”和“系统预定义参数”。 服务扩展点 一种扩展插件,为平台提供链接第三方服务的能力。如,编译构建服务使用服务扩展点可连接通用Git平台获取项目源码,服务扩展点可以提供对此类连接的新建、编辑、删除等操作。
计费项 计费说明 编译构建服务的计费项为构建任务并发数。具体内容如表1所示。 表1 编译构建服务计费项 计费项 计费项说明 使用资源扩展类型 计费公式 构建任务并发执行数 某一Region内,租户中所有构建任务的并发执行数量总和。 编译构建并发扩展 单价*并发数*购买时长 计费示例
sbt package ignore_fail: true 表2 代码示例参数说明 参数 类型 说明 command string 配置Sbt命令。更多命令使用方法可参考Sbt官网。 ignore_fail string 用于控制当
npm run build ignore_fail: true 表2 代码示例参数说明 参数 类型 说明 command string 配置Grunt命令。更多命令使用方法可参考Grunt官网。 ignore_fail string 用
command: gradle build ignore_fail: true 表2 代码示例参数说明 参数 类型 说明 command string 配置Kotlin构建命令。更多命令使用方法可参考Kotlin官网。 ignore_fail string
command: grails war ignore_fail: true 表2 代码示例参数说明 参数 类型 说明 command string 配置Grails命令。更多命令使用方法可参考Grails官网。 ignore_fail string
bazel-bin/* build_out/ ignore_fail: true 表2 代码示例参数说明 参数 类型 说明 command string 配置Bazel执行命令。 ignore_fail string 用于控制当前步骤执行失败后是否继续执行下一个步骤。
assembleApp --no-daemon ignore_fail: true 表2 代码示例参数说明 参数 类型 说明 command string 配置HarmonyOS的执行命令。 ignore_fail string 用于控制当前步骤执行失败后是否继续执行下一个步骤。
Build的相关操作事件,方便您日后的查询、审计和回溯。 支持审计日志的操作 表1 云审计服务支持CodeArts Build服务操作 操作名称 资源类型 事件名称 创建编译构建任务 CloudBuildsServer createJob 执行编译构建任务 CloudBuildServer buildJob
command: ant -f build.xml ignore_fail: true 表2 代码示例参数说明 参数名称 参数类型 参数说明 command string 配置Ant构建命令。更多命令使用方法可参考Ant官网。 ignore_fail string 用
inputs: command: make ignore_fail: true 表2 代码示例参数说明 参数 类型 说明 command string 配置方舟编译器的执行命令。 ignore_fail string 用于控制当前步骤执行失败后是否继续执行下一个步骤。
command: echo ${a} ignore_fail: true 表2 代码示例参数说明 参数 类型 说明 command string 请根据需要填写执行构建的shell命令。 ignore_fail string 用于控制当前步骤执行失败后是否继续执行下一个步骤。
key_password: xxxxxx apksigner_commond: --verbose 参数名 参数类型 描述 是否必填 默认值 file_path string 需要签名的APK路径。 是 无 keystore_file string Keystore文件名。
helloworld.so helloworld.o ignore_fail: true 表2 代码示例参数说明 参数 类型 说明 command string 配置GFortran命令。 ignore_fail string 用于控制当前步骤执行失败后是否继续执行下一个步骤。
Makefiles' ../ && make -j ignore_fail: true 表2 代码示例参数说明 参数 类型 说明 command string 配置CMake命令。更多命令使用方法可参考CMake官网。 ignore_fail string 用
url: xxxxxxxxxxxxx ignore_fail: true 表2 代码示例参数说明 参数 类型 说明 url string 粘贴从2复制的软件包下载地址。 ignore_fail string 用于控制当前步骤执行失败后是否继续执行下一个步骤。