BuildDefinition interface
Represents a build definition.
- Extends
badge |
Indicates whether badges are enabled for this definition. |
build |
The build number format. |
comment | A save-time comment for the definition. |
demands | |
description | The description. |
drop |
The drop location for the definition. |
job |
The job authorization scope for builds queued against this definition. |
job |
The job cancel timeout (in minutes) for builds cancelled by user for this definition. |
job |
The job execution timeout (in minutes) for builds queued against this definition. |
options | |
process | The build process. |
process |
The process parameters for this definition. |
properties | |
repository | The repository. |
retention |
|
tags | |
triggers | |
variable |
|
variables |
authored |
The author of the definition. |
created |
The date this version of the definition was created. |
draft |
A reference to the definition that this definition is a draft of, if this is a draft definition. |
drafts | The list of drafts associated with this definition, if this is not a draft definition. |
id | The ID of the referenced definition. |
latest |
|
latest |
|
metrics | |
name | The name of the referenced definition. |
path | The folder path of the definition. |
project | A reference to the project. |
quality | The quality of the definition document (draft, etc.) |
queue | The default queue for builds run against this definition. |
queue |
A value that indicates whether builds can be queued against this definition. |
revision | The definition revision number. |
type | The type of the definition. |
uri | The definition's URI. |
url | The REST URL of the definition. |
Indicates whether badges are enabled for this definition.
badgeEnabled: boolean
Property Value
boolean
The build number format.
buildNumberFormat: string
Property Value
string
A save-time comment for the definition.
comment: string
Property Value
string
The description.
description: string
Property Value
string
The drop location for the definition.
dropLocation: string
Property Value
string
The job authorization scope for builds queued against this definition.
jobAuthorizationScope: BuildAuthorizationScope
Property Value
The job cancel timeout (in minutes) for builds cancelled by user for this definition.
jobCancelTimeoutInMinutes: number
Property Value
number
The job execution timeout (in minutes) for builds queued against this definition.
jobTimeoutInMinutes: number
Property Value
number
The process parameters for this definition.
processParameters: ProcessParameters
Property Value
properties: any
Property Value
any
tags: string[]
Property Value
string[]
variables: {[key: string]: BuildDefinitionVariable}
Property Value
{[key: string]: BuildDefinitionVariable}
The author of the definition.
authoredBy: IdentityRef
Property Value
Inherited From BuildDefinitionReference.authoredBy
The date this version of the definition was created.
createdDate: Date
Property Value
Date
Inherited From BuildDefinitionReference.createdDate
A reference to the definition that this definition is a draft of, if this is a draft definition.
draftOf: DefinitionReference
Property Value
Inherited From BuildDefinitionReference.draftOf
The list of drafts associated with this definition, if this is not a draft definition.
drafts: DefinitionReference[]
Property Value
Inherited From BuildDefinitionReference.drafts
The ID of the referenced definition.
id: number
Property Value
number
Inherited From BuildDefinitionReference.id
latestCompletedBuild: Build
Property Value
Inherited From BuildDefinitionReference.latestCompletedBuild
The name of the referenced definition.
name: string
Property Value
string
Inherited From BuildDefinitionReference.name
The folder path of the definition.
path: string
Property Value
string
Inherited From BuildDefinitionReference.path
A reference to the project.
project: TeamProjectReference
Property Value
Inherited From BuildDefinitionReference.project
The quality of the definition document (draft, etc.)
quality: DefinitionQuality
Property Value
Inherited From BuildDefinitionReference.quality
The default queue for builds run against this definition.
queue: AgentPoolQueue
Property Value
Inherited From BuildDefinitionReference.queue
A value that indicates whether builds can be queued against this definition.
queueStatus: DefinitionQueueStatus
Property Value
Inherited From BuildDefinitionReference.queueStatus
The definition revision number.
revision: number
Property Value
number
Inherited From BuildDefinitionReference.revision
The type of the definition.
type: DefinitionType
Property Value
Inherited From BuildDefinitionReference.type
The REST URL of the definition.
url: string
Property Value
string
Inherited From BuildDefinitionReference.url