Share via


Runs - Get

특정 파이프라인에 대한 실행을 가져옵니다.

GET https://dev.azure.com/{organization}/{project}/_apis/pipelines/{pipelineId}/runs/{runId}?api-version=7.1-preview.1

URI 매개 변수

Name In(다음 안에) 필수 형식 Description
organization
path True

string

Azure DevOps 조직의 이름입니다.

pipelineId
path True

integer

int32

파이프라인 ID

project
path True

string

프로젝트 ID 또는 프로젝트 이름

runId
path True

integer

int32

실행 ID

api-version
query True

string

사용할 API의 버전입니다. 이 버전의 API를 사용하려면 '7.1-preview.1'로 설정해야 합니다.

응답

Name 형식 Description
200 OK

Run

성공적인 작업

보안

oauth2

Type: oauth2
Flow: accessCode
Authorization URL: https://app.vssps.visualstudio.com/oauth2/authorize&response_type=Assertion
Token URL: https://app.vssps.visualstudio.com/oauth2/token?client_assertion_type=urn:ietf:params:oauth:client-assertion-type:jwt-bearer&grant_type=urn:ietf:params:oauth:grant-type:jwt-bearer

Scopes

Name Description
vso.build 빌드 결과, 정의 및 요청을 포함하여 빌드 아티팩트 액세스 기능과 서비스 후크를 통해 빌드 이벤트에 대한 알림을 받을 수 있는 기능을 부여합니다.

정의

Name Description
Container
ContainerResource
PipelineReference

파이프라인에 대한 참조입니다.

PipelineResource
ReferenceLinks

REST 참조 링크의 컬렉션을 나타내는 클래스입니다.

Repository
RepositoryResource
RepositoryType
Run
RunResources
RunResult
RunState
Variable

Container

Name 형식 Description
environment

object

image

string

mapDockerSocket

boolean

options

string

ports

string[]

volumes

string[]

ContainerResource

Name 형식 Description
container

Container

PipelineReference

파이프라인에 대한 참조입니다.

Name 형식 Description
folder

string

파이프라인 폴더

id

integer

파이프라인 ID

name

string

파이프라인 이름

revision

integer

수정 번호

url

string

PipelineResource

Name 형식 Description
pipeline

PipelineReference

파이프라인에 대한 참조입니다.

version

string

REST 참조 링크의 컬렉션을 나타내는 클래스입니다.

Name 형식 Description
links

object

링크의 읽기 전용 보기입니다. 참조 링크는 읽기 전용이므로 읽기 전용으로만 노출하려고 합니다.

Repository

Name 형식 Description
type

RepositoryType

RepositoryResource

Name 형식 Description
refName

string

repository

Repository

version

string

RepositoryType

Name 형식 Description
azureReposGit

string

azureReposGitHyphenated

string

gitHub

string

gitHubEnterprise

string

unknown

string

Run

Name 형식 Description
_links

ReferenceLinks

REST 참조 링크의 컬렉션을 나타내는 클래스입니다.

createdDate

string

finalYaml

string

finishedDate

string

id

integer

name

string

pipeline

PipelineReference

파이프라인에 대한 참조입니다.

resources

RunResources

result

RunResult

state

RunState

templateParameters

object

url

string

variables

<string,  Variable>

RunResources

Name 형식 Description
containers

<string,  ContainerResource>

pipelines

<string,  PipelineResource>

repositories

<string,  RepositoryResource>

RunResult

Name 형식 Description
canceled

string

failed

string

succeeded

string

unknown

string

RunState

Name 형식 Description
canceling

string

completed

string

inProgress

string

unknown

string

Variable

Name 형식 Description
isSecret

boolean

value

string