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

Field Type Properties Description
Name string Autonumber, Defaulted on create, Filter, idLookup, Sort Name of the Branch record.
OwnerId reference Create, Defaulted on create, Filter, Group, Sort, Update ID 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__c textarea Create, Nillable, Update Serialized JSON representation of the preprocessed contents of the .forceignore file on the branch.
sf_devops__Name__c string Create, Filter, Group, Sort, Update Name of the branch.
sf_devops__Parent_Remote_Reference__c string Create, Filter, Group, Sort, Update Unique 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__c dateTime Create, Filter, Nillable, Sort, Update Last date and time when the branch identified by the Remote Reference field was updated.
sf_devops__Remote_Reference__c string Create, Filter, Group, Sort, Update Unique ID of the tip of this branch. In GitHub, this ID is called the HEAD SHA.
sf_devops__Repository__c reference Create, Filter, Group, Sort, Update A 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