Repository (sf_devops__Repository__c)

Represents a specific location in a source control system where the metadata for a project is stored. Multiple projects can reference the same repository. This object is available in all orgs that have DevOps Center installed.

Many of the fields on this object are specific to GitHub. As DevOps Center supports additional source control systems, these fields will likely change or move.

Note

Supported Calls 

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

Fields 

FieldTypePropertiesDescription
NamestringCreate, Defaulted on create, Filter, Group, idLookup, Nillable, Sort, UpdateName of this Repository 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__Default_Branch__cstringCreate, Filter, Group, Sort, UpdateBranch in the repository that contains all the changes you plan to release. In GitHub, this branch is typically called main.
sf_devops__GitHub_Owner__cstringCreate, Filter, Group, Nillable, Sort, UpdateOwner of the repository. In GitHub, this string is used in the URL for the repository.
sf_devops__GitHub_Repo__cstringCreate, Filter, Group, Nillable, Sort, UpdateName of the repository. In GitHub, this string is used in the URL for the repository.
sf_devops__Last_Event__cstringCreate, Filter, Group, Nillable, Sort, UpdateID of the most recent VCS Event that DevOps Center processed from GitHub. DevOps Center uses this ID to ensure it doesn’t duplicate downloading or reprocessing events.
sf_devops__Named_Credential__cstringCreate, Filter, Group, Sort, UpdateName of the named credential that DevOps Center uses to connect to this repository.
sf_devops__Polling_Interval__cdoubleCreate, Filter, Nillable, Sort, UpdateSpecifies how often DevOps Center polls for VCS Events.
sf_devops__Provider__cpicklistCreate, Defaulted on create, Filter, Group, Restricted picklist, Sort, UpdateProvider of this repository. Currently, the only valid value is GitHub.

See Also