使用此任务通过 App Center 将应用生成分发给测试人员和用户。
重要
此任务已弃用。 使用 AppCenterDistribute@3。
语法
# App Center distribute v0
# Distribute app builds to testers and users via App Center.
- task: AppCenterDistribute@0
inputs:
serverEndpoint: # string. Required. App Center connection.
appSlug: # string. Required. App slug.
appFile: # string. Alias: app. Required. Binary file path.
releaseNotesOption: 'input' # 'input' | 'file'. Alias: releaseNotesSelection. Required. Create release notes. Default: input.
releaseNotesInput: # string. Required when releaseNotesSelection = input. Release notes.
#releaseNotesFile: # string. Required when releaseNotesSelection = file. Release notes file.
#distributionGroupId: # string. Distribution group ID.
# Symbols
#symbolsOption: 'Apple' # 'Apple'. Alias: symbolsType. Symbols type. Default: Apple.
#symbolsPath: # string. Optional. Use when symbolsType == AndroidNative || symbolsType = Windows. Symbols path.
#symbolsPdbFiles: '**/*.pdb' # string. Alias: pdbPath. Optional. Use when symbolsType = UWP. Symbols path (*.pdb). Default: **/*.pdb.
#symbolsDsymFiles: # string. Alias: dsymPath. Optional. Use when symbolsType = Apple. dSYM path.
#symbolsMappingTxtFile: # string. Alias: mappingTxtPath. Optional. Use when symbolsType = AndroidJava. Mapping file.
#symbolsIncludeParentDirectory: # boolean. Alias: packParentFolder. Include all items in parent folder.
输入
serverEndpoint
-
App Center 连接
string
。 必填。
为 Visual Studio App Center 连接选择服务终结点。 若要创建一个,请单击 Manage
链接并创建新的服务终结点。
appSlug
-
App slug(应用别名)
string
。 必填。
应用 slug 采用 {username}/{app_identifier}
格式。 若要查找应用的 {username}
和 {app_identifier}
,请单击 App Center中的名称,生成的 URL 采用 https://appcenter.ms/users/**{username}**/apps/**{app_identifier}**
格式。 如果使用组织,则应用 slug 的格式 {orgname}/{app_identifier}
。
symbolsOption
-
符号类型
输入别名: symbolsType
.
string
。 允许的值:Apple
。 默认值:Apple
。
包括用于在 App Center 诊断中接收符号化堆栈跟踪的符号文件。
symbolsPath
-
符号路径
string
。 可选。 当 symbolsType == AndroidNative || symbolsType = Windows
时使用。
存储库根目录到符号文件夹的相对路径。
symbolsPdbFiles
-
符号路径 (*.pdb)
输入别名: pdbPath
.
string
。 可选。 当 symbolsType = UWP
时使用。 默认值:**/*.pdb
。
存储库根目录到 .pdb
符号文件的相对路径。 路径可能包含通配符 。
symbolsDsymFiles
-
dSYM 路径
输入别名: dsymPath
.
string
。 可选。 当 symbolsType = Apple
时使用。
存储库根目录到 dSYM 文件夹的相对路径。 路径可能包含通配符 。
symbolsMappingTxtFile
-
映射文件
输入别名: mappingTxtPath
.
string
。 可选。 当 symbolsType = AndroidJava
时使用。
从存储库根目录到 Android mapping.txt
文件的相对路径。
symbolsIncludeParentDirectory
-
在父文件夹中包括所有项目
输入别名: packParentFolder
.
boolean
。
上传所选符号文件或文件夹以及同一父文件夹中的所有其他项目。 这是 React Native 应用所必需的。
releaseNotesOption
-
创建发行说明
输入别名: releaseNotesSelection
.
string
。 必填。 允许的值:input
(输入发行说明)、file
(选择发行说明文件)。 默认值:input
。
发行说明将附加到该版本,并显示在安装页上的测试人员。
releaseNotesInput
-
发行说明
string
。
releaseNotesSelection = input
时是必需的。
此版本的发行说明。
releaseNotesFile
-
发行说明文件
string
。
releaseNotesSelection = file
时是必需的。
选择包含此版本的发行说明的 UTF-8 编码文本文件。
distributionGroupId
-
通讯组 ID
string
。
将接收生成版本的通讯组的 ID。 将它留空以使用默认组。
任务控制选项
除任务输入之外,所有任务都具有控制选项。 有关详细信息,请参阅 控件选项和常见任务属性。
输出变量
没有。
注解
此任务已弃用。 使用 AppCenterDistribute@3。