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)

[FlagsAttribute]
public enum BuildReason

Member nameDescription
AllThe build was run for all reasons.

BatchedCIThe build was started for the trigger TriggerType.BatchedContinuousIntegration.

CheckInShelvesetThe build was started for the trigger ContinuousIntegrationType.Gated.

IndividualCIThe build was started for the trigger TriggerType.ContinuousIntegration.

ManualThe build was started manually.

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

ScheduleThe build was started for the trigger TriggerType.Schedule.

ScheduleForcedThe build was started for the trigger TriggerType.ScheduleForced.

TriggeredThe build was triggered for retention policy purposes.

UserCreatedThe build was created by a user.

ValidateShelvesetThe build was started manually for private validation.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft