PublishPipelineArtifact@0 - 파이프라인 아티팩트 v0 게시 작업

이 작업을 사용하여 로컬 디렉터리 또는 파일을 현재 파이프라인의 명명된 아티팩트로 게시합니다.

이 작업의 최신 버전이 있습니다. 자세한 내용은 PublishPipelineArtifact@1 참조하세요.

이 작업을 사용하여 로컬 디렉터리 또는 파일을 현재 파이프라인의 명명된 아티팩트로 게시합니다.

중요

이 작업은 Azure DevOps Services만 지원됩니다. Azure DevOps Server 사용하는 경우 Azure DevOps Server 또는 TFS 2018을 사용하는 경우 빌드 아티팩트 게시 사용과 유사한 Pipeline Artifact Task is not supported in on-premises. Please use Build Artifact Task instead. 오류 메시지가 표시됩니다.

이 작업을 사용하여 로컬 디렉터리 또는 파일을 현재 파이프라인의 명명된 아티팩트로 게시합니다.

중요

이 작업은 Azure DevOps Services만 지원됩니다. Azure DevOps Server 사용하는 경우 Azure DevOps Server 또는 TFS 2018을 사용하는 경우 빌드 아티팩트 게시 사용과 유사한 Pipeline Artifact Task is not supported in on-premises. Please use Build Artifact Task instead. 오류 메시지가 표시됩니다.

Syntax

# Publish Pipeline Artifacts v0
# Publish a local directory or file as a named artifact for the current pipeline.
- task: PublishPipelineArtifact@0
  inputs:
    artifactName: 'drop' # string. Required. The name of this artifact. Default: drop.
    targetPath: # string. Required. Path to publish. 
    #properties: # string. Custom properties.
# Publish Pipeline Artifacts v0
# Publish a local directory or file as a named artifact for the current pipeline.
- task: PublishPipelineArtifact@0
  inputs:
    artifactName: 'drop' # string. Required. The name of this artifact. Default: drop.
    targetPath: # string. Required. Path to publish.
# Publish Pipeline Artifacts v0
# Publish Pipeline Artifact.
- task: PublishPipelineArtifact@0
  inputs:
    artifactName: 'drop' # string. Required. The name of this artifact. Default: drop.
    targetPath: # string. Required. Path to publish.

입력

artifactName - 이 아티팩트 이름
string. 필수 요소. 기본값은 drop입니다.

아티팩트 이름을 지정합니다.


targetPath - 게시할 경로
string. 필수 요소.

게시할 폴더 또는 파일 경로를 지정합니다. 정규화된 경로 또는 리포지토리의 루트에 상대적인 경로일 수 있습니다. 와일드카드는 지원되지 않습니다. 변수가 지원됩니다.


properties - 사용자 지정 속성
string.

아티팩트와 연결할 사용자 지정 속성을 지정합니다. 모든 키에 접두사 user- 로 유효한 JSON 문자열을 사용합니다.


작업 제어 옵션

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

출력 변수

없음

이 작업의 최신 버전이 있습니다. 자세한 내용은 PublishPipelineArtifact@1 참조하세요.

중요

이 작업은 Azure DevOps Services만 지원됩니다. Azure DevOps Server 사용하는 경우 Azure DevOps Server 또는 TFS 2018을 사용하는 경우 빌드 아티팩트 게시 사용과 유사한 Pipeline Artifact Task is not supported in on-premises. Please use Build Artifact Task instead. 오류 메시지가 표시됩니다.

요구 사항

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