Поделиться через


BuildReason Enumeration

Specifies the reason a build was started.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

Namespace:  Microsoft.TeamFoundation.Build.Server
Assembly:  Microsoft.TeamFoundation.Build.Server (in Microsoft.TeamFoundation.Build.Server.dll)

Syntax

'Declaration
<FlagsAttribute> _
Public Enumeration BuildReason
[FlagsAttribute]
public enum BuildReason
[FlagsAttribute]
public enum class BuildReason
[<FlagsAttribute>]
type BuildReason
public enum BuildReason

Members

Member name Description
All The build was run for all reasons.

BatchedCI The build was started for the trigger TriggerType.BatchedContinuousIntegration.

CheckInShelveset The build was started for the trigger ContinuousIntegrationType.Gated.

IndividualCI The build was started for the trigger TriggerType.ContinuousIntegration.

Manual The build was started manually.

None The build was run for no reason. This value should not be used.

Schedule The build was started for the trigger TriggerType.Schedule.

ScheduleForced The build was started for the trigger TriggerType.ScheduleForced.

Triggered The build was triggered for retention policy purposes.

UserCreated The build was created by a user.

ValidateShelveset The build was started manually for private validation.

See Also

Reference

Microsoft.TeamFoundation.Build.Server Namespace