AppCenterDistribute@2 - App Center 散發 v2 工作
使用此工作,透過Visual Studio App Center將應用程式組建散發給測試人員和使用者。
這很重要
此工作已被取代,且將於 2024 年 1 月 31 日淘汰。 使用 AppCenterDistribute@3。
使用此工作,透過Visual Studio App Center將應用程式組建散發給測試人員和使用者。
此工作已被取代;使用 AppCenterDistribute@3。
使用此工作,透過Visual Studio App Center將應用程式組建散發給測試人員和使用者。
語法
# App Center distribute v2
# Distribute app builds to testers and users via Visual Studio App Center.
- task: AppCenterDistribute@2
inputs:
serverEndpoint: # string. Required. App Center service 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.
#isMandatory: false # boolean. Require users to update to this release. Default: false.
#distributionGroupId: # string. Alias: destinationIds | destinationId. Destination IDs.
# 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}
。
appFile
-
二進位檔路徑
輸入別名:app
。
string
。 必須的。
從存放庫根目錄到您要發佈的 APK 或 IPA 檔案的相對路徑。
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 編碼文字檔,其中包含此版本的版本資訊。
isMandatory
-
要求使用者更新至此版本
boolean
。 預設值:false
。
App Center 發佈授權更新所需的 SDK。 系統會自動提示測試人員更新。
distributionGroupId
-
目的地標識碼
輸入別名:destinationIds | destinationId
。
string
。
將接收組建版本的散發套件存放區或群組標識碼。 將它保留空白以使用預設群組。
工作控制選項
除了工作輸入之外,所有工作都有控制選項。 如需詳細資訊,請參閱 控制項選項和一般工作屬性。
輸出變數
沒有。
備註
此工作已被取代。 使用 AppCenterDistribute@3。
需求
要求 | 說明 |
---|---|
管線類型 | YAML、傳統組建、傳統版本 |
執行於 | Agent、DeploymentGroup |
需求 | 沒有 |
功能 | 此工作不符合作業中後續工作的任何需求。 |
命令限制 | 任意 |
Settable 變數 | 任意 |
代理程式版本 | 2.144.0 或更新 |
工作類別 | 部署 |
要求 | 說明 |
---|---|
管線類型 | YAML、傳統組建、傳統版本 |
執行於 | Agent、DeploymentGroup |
需求 | 沒有 |
功能 | 此工作不符合作業中後續工作的任何需求。 |
命令限制 | 任意 |
Settable 變數 | 任意 |
代理程式版本 | 所有支援的代理程式版本。 |
工作類別 | 部署 |