다음을 통해 공유


AppCenterDistribute@2 - App Center v2 배포 작업

이 작업을 사용하여 Visual Studio App Center를 통해 테스터 및 사용자에게 앱 빌드를 배포합니다.

중요

이 작업은 더 이상 사용되지 않으며 2024년 1월 31일에 사용 중지됩니다. AppCenterDistribute@3 사용합니다.

이 작업을 사용하여 Visual Studio App Center를 통해 테스터 및 사용자에게 앱 빌드를 배포합니다.

이 작업은 더 이상 사용되지 않습니다. AppCenterDistribute@3 사용합니다.

이 작업을 사용하여 Visual Studio App Center를 통해 테스터 및 사용자에게 앱 빌드를 배포합니다.

Syntax

# 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 - 앱 슬러그
string. 필수 요소.

앱 슬러그는 형식입니다 {username}/{app_identifier}. 앱의 및 {app_identifier} 을 찾으 {username} 려면 App Center에서 해당 이름을 클릭하고 결과 URL은 형식https://appcenter.ms/users/**{username}**/apps/**{app_identifier}**입니다. 조직을 사용하는 경우 앱 슬러그는 형식 {orgname}/{app_identifier}입니다.


appFile - 이진 파일 경로
입력 별칭: app. string. 필수 요소.

게시하려는 APK 또는 IPA 파일에 대한 리포지토리 루트의 상대 경로입니다.


symbolsOption - 기호 형식
입력 별칭: symbolsType. string. 허용되는 값: Apple. 기본값은 Apple입니다.

App Center Diagnostics에서 기호화된 스택 추적을 수신하는 기호 파일을 포함합니다.


symbolsPath - 기호 경로
string. 선택 사항입니다. 를 사용하는 경우 symbolsType == AndroidNative || symbolsType = Windows를 사용합니다.

리포지토리 루트에서 symbols 폴더로의 상대 경로입니다.


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 - 대상 ID
입력 별칭: destinationIds | destinationId. string.

빌드 릴리스를 받을 배포 저장소 또는 그룹의 ID입니다. 기본 그룹을 사용하려면 비워 둡니다.


작업 제어 옵션

모든 작업에는 작업 입력 외에 제어 옵션이 있습니다. 자세한 내용은 컨트롤 옵션 및 일반적인 작업 속성을 참조하세요.

출력 변수

없음

설명

이 작업은 더 이상 사용되지 않습니다. AppCenterDistribute@3 사용합니다.

요구 사항

요구 사항 Description
파이프라인 유형 YAML, 클래식 빌드, 클래식 릴리스
실행 중 에이전트, DeploymentGroup
요청 없음
Capabilities 이 작업은 작업의 후속 작업에 대한 요구를 충족하지 않습니다.
명령 제한 사항 모두
Settable 변수 모두
에이전트 버전 2.144.0 이상
작업 범주 배포
요구 사항 Description
파이프라인 유형 YAML, 클래식 빌드, 클래식 릴리스
실행 중 에이전트, DeploymentGroup
요청 없음
Capabilities 이 작업은 작업의 후속 작업에 대한 요구를 충족하지 않습니다.
명령 제한 사항 모두
설정 가능한 변수 모두
에이전트 버전 지원되는 모든 에이전트 버전.
작업 범주 배포