BuildDefinition Class

Definition

Represents a build definition.

[System.Runtime.Serialization.DataContract]
public class BuildDefinition : Microsoft.TeamFoundation.Build.WebApi.BuildDefinitionReference
type BuildDefinition = class
    inherit BuildDefinitionReference
Public Class BuildDefinition
Inherits BuildDefinitionReference
Inheritance
Attributes

Constructors

BuildDefinition()

Properties

AuthoredBy

The author of the definition.

(Inherited from BuildDefinitionReference)
BadgeEnabled

Indicates whether badges are enabled for this definition.

BuildNumberFormat

The build number format.

Comment

A save-time comment for the definition.

Counters

The list of counters used by this definition.

CreatedDate

The date the definition was created.

(Inherited from DefinitionReference)
DefinitionQuality

The quality of the definition document (draft, etc.)

(Inherited from BuildDefinitionReference)
Demands

The list of demands that represents the capabilities required by all agents for this definition.

Description

The description.

Drafts

The list of drafts associated with this definition, if this is not a draft definition.

(Inherited from BuildDefinitionReference)
DropLocation

The drop location for the definition.

Id

The ID of the referenced definition.

(Inherited from DefinitionReference)
JobAuthorizationScope

The job authorization scope for builds queued against this definition.

JobCancelTimeoutInMinutes

The job cancel timeout (in minutes) for builds cancelled by user for this definition.

JobTimeoutInMinutes

The job execution timeout (in minutes) for builds queued against this definition.

LatestBuild

The latest build for this definition.

(Inherited from BuildDefinitionReference)
LatestCompletedBuild

The latest completed build for this definition.

(Inherited from BuildDefinitionReference)
Links

The links to other objects related to this object.

(Inherited from BuildDefinitionReference)
Metrics

The metrics for this definition.

(Inherited from BuildDefinitionReference)
Name

The name of the referenced definition.

(Inherited from DefinitionReference)
Options

A list of build options used by this definition.

ParentDefinition

A reference to the definition that this definition is a draft of, if this is a draft definition.

(Inherited from BuildDefinitionReference)
Path

The folder path of the definition.

(Inherited from DefinitionReference)
Process

The build process.

ProcessParameters

The process parameters for this definition.

Project

A reference to the project.

(Inherited from DefinitionReference)
Properties

A collection of properties which may be used to extend the storage fields available for a given definition.

Queue

The default queue for builds run against this definition.

(Inherited from BuildDefinitionReference)
QueueStatus

A value that indicates whether builds can be queued against this definition.

(Inherited from DefinitionReference)
Repository

The repository.

RetentionRules

The list of retention policies for this definition.

Revision

The definition revision number.

(Inherited from DefinitionReference)
Steps
Obsolete.

The list of steps for this definition.

Tags

A collection of tags associated with the build definition.

Triggers

The list of triggers for this definition.

Type

The type of the definition.

(Inherited from DefinitionReference)
Uri

The definition's URI.

(Inherited from DefinitionReference)
Url

The REST URL of the definition.

(Inherited from DefinitionReference)
VariableGroups

The variable groups used by this definition.

Variables

The variables used by this definition.

Explicit Interface Implementations

ISecuredObject.GetToken() (Inherited from DefinitionReference)
ISecuredObject.NamespaceId (Inherited from DefinitionReference)
ISecuredObject.RequiredPermissions (Inherited from DefinitionReference)

Extension Methods

GetProcess<T>(BuildDefinition)

Applies to