Branch (sf_devops__Branch__c)

Stores the state of a branch in the source control repository (also version control system, or VCS). In the DevOps Center object model, this object is a child of the Repository where the branch lives. Work Item and Pipeline Stage records refer to this object. This object is available in all orgs that have DevOps Center installed.

Supported Calls 

create(), delete(), describeLayout(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve(), search(), undelete(), update(), upsert()

Fields 

FieldTypePropertiesDescription
NamestringAutonumber, Defaulted on create, Filter, idLookup, SortName of the Branch record.
OwnerIdreferenceCreate, Defaulted on create, Filter, Group, Sort, UpdateID of the user who owns this record. This field is a polymorphic relationship field. Relationship name: Owner. Relationship type: Lookup. Refers to: Group, User.
sf_devops__Ignore_Rules__ctextareaCreate, Nillable, UpdateSerialized JSON representation of the preprocessed contents of the .forceignore file on the branch.
sf_devops__Name__cstringCreate, Filter, Group, Sort, UpdateName of the branch.
sf_devops__Parent_Remote_Reference__cstringCreate, Filter, Group, Sort, UpdateUnique ID that represents where this branch diverged from its parent branch. In GitHub, this ID is called a SHA. DevOps Center uses this ID to recreate the branch if necessary. For example, if a user deletes the branch on GitHub, but DevOps Center isn’t finished using the branch, then DevOps Center can recreate it using this ID.
sf_devops__Remote_Reference_Date__cdateTimeCreate, Filter, Nillable, Sort, UpdateLast date and time when the branch identified by the Remote Reference field was updated.
sf_devops__Remote_Reference__cstringCreate, Filter, Group, Sort, UpdateUnique ID of the tip of this branch. In GitHub, this ID is called the HEAD SHA.
sf_devops__Repository__creferenceCreate, Filter, Group, Sort, UpdateA reference to the source code repository in which this branch lives. This field is a relationship field. Relationship name: sf_devops__Repository__r. Relationship type: Lookup. Refers to: sf_devops__Repository__c.

See Also