检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
region String 租户所在region err_msg String 错误信息 build_config_type String 构建配置类型,YAML或ACTION 状态码: 400 表4 响应Body参数 参数 参数类型 描述 error_code String 错误码 error_msg
问题现象 构建“microsoft.common.currentversion.targets”找不到“AxImp.exe”,需要安装SDK。 原因分析 系统中安装了4.7.2版本的的SDK,项目中没有特殊指定SDK时,可以兼容4.0以上版本。 项目中若特殊指定了某SDK版本,Msbui
error Object 错误 result Array of ShowPackageSpecStatusList objects 单元测试报告列表 表3 ShowPackageSpecStatusList 参数 参数类型 描述 resource_id String 资源编号 region_id
执行shell命令 使用通用的shell4.2.46-git1.8.3-zip6.00镜像执行shell命令,该镜像基于EulerOS,默认安装zip、unzip、sudo、git、wget等软件。 工具版本 内置工具 shell4.2.46-git1.8.3-zip6.00 git、wget
QueryTemplatesItems 参数 参数类型 描述 favourite Boolean 是否收藏模板 nick_name String 昵称 id String 数据库中id uuid String uuid template QueryTemplate object 构建步骤模板,需封装为驼峰式命名 type
通知类型 enable_map Map<String,Boolean> 通知品种开启详情的表 param_config String 参数配置 状态码: 400 表5 响应Body参数 参数 参数类型 描述 error_code String 错误码 error_msg String
缓存目录(只能填写绝对目录,禁止填写“./”开头的相对目录) 缓存使用方式 清理缓存命令 Maven构建 /repository/local/maven 图形化配置方式,参考使用Maven构建。 rm -rf /repository/local/maven/{groupId}/{artifactId}
<artifactId>parent</artifactId> <version>1.0</version> </parent> 在上述的配置形式中指定了一个父项目,下面有两个同级的子项目A和B,如果A项目的pom文件中把B项目当做自己的子项目来引用或者把parent项目作为子项
enabled_event_type_names 是 Array of strings 开启的通知的种类 param_config 否 String 通知参数配置 响应参数 状态码: 200 表4 响应Body参数 参数 参数类型 描述 result String 返回错误信息 error String
CreateBuildJobSteps objects 构建执行的步骤 host_type String host类型 build_config_type String 构建的配置类型 表6 CreateBuildJobParameter 参数 参数类型 描述 name String 参数定义名,默认为hudson.model
wrapper)封装Gradle命令。 Gradlew封装了Gradle命令,将首先安装指定版本的Gradle,再执行构建命令。 Gradle官方建议所有Gradle项目中都创建Wrapper文件,方便没有安装Gradle的用户使用。 Gradle Wrapper使用教程 在本地环境中,进入代码根目录,执行gradle
QueryTemplatesItems 参数 参数类型 描述 favourite Boolean 是否收藏模板 nick_name String 昵称 id String 数据库中id uuid String uuid template QueryTemplate object 构建步骤模板,需封装为驼峰式命名 type
表4 CreateTemplatesItems 参数 参数类型 描述 favourite Boolean 是否收藏模板 id String 数据库中id uuid String uuid template QueryTemplate object 构建步骤模板,需封装为驼峰式命名 type
SDK XXX版本 问题现象 构建失败,异常信息为:项目指定了dotnet sdk XXX,在XXX路径下不能找到对应的SDK工具集,请确定是否安装了对应版本的SDK。 原因分析 由于项目指定了特定版本的.NET Core SDK,不使用镜像预装的兼容的.NET 2.1.402版本SD
region String 租户所在region err_msg String 错误信息 build_config_type String 构建配置类型,YAML或ACTION 状态码: 400 表5 响应Body参数 参数 参数类型 描述 error_code String 错误码 error_msg
region String 租户所在region err_msg String 错误信息 build_config_type String 构建配置类型,YAML或ACTION 状态码: 400 表5 响应Body参数 参数 参数类型 描述 error_code String 错误码 error_msg
QueryTemplatesItems 参数 参数类型 描述 favourite Boolean 是否收藏模板 nick_name String 昵称 id String 数据库中id uuid String uuid template QueryTemplate object 构建步骤模板,需封装为驼峰式命名 type
执行Npm构建时,报错提示node-sass下载失败 执行Npm构建时,报错提示error: could not write config file Npm构建耗时且安装依赖缓慢 执行Npm构建时,报错提示找不到依赖版本
表9 CreateTemplatesItems 参数 参数类型 描述 favourite Boolean 是否收藏模板 id String 数据库中id uuid String uuid template QueryTemplate object 构建步骤模板,需封装为驼峰式命名 type
objects 构建执行的步骤 host_type 否 String host类型 build_config_type 否 String 构建的配置类型 表3 CreateBuildJobParameter 参数 是否必选 参数类型 描述 name 否 String 参数定义名,默认为hudson