SourceCodeRepository
Represents a specific version control repository hosted by a provider, such as GitHub, that stores the metadata and configuration data for a DevOps Center project. Multiple projects can reference the same repository.
Introduced in API version 64.0.
create(), delete(), describeLayout(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve(), search(), undelete(), update(), upsert()
- Type: string
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Introduced: API version 64.0
- Description: The name of the primary branch in the repository that contains all the changes you plan to release. In GitHub, this branch is typically called main.
- Type: string
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Type: string
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: The name of the repository as it appears on the provider. For example, my-dx-project.
- Type: string
- Properties: Create, Filter, Group, idLookup, Sort, Update
- Description: The name of the repository record.
-
Type: picklist
-
Properties: Create, Defaulted on create, Filter, Group, Nillable, Restricted picklist, Sort, Update
-
Description:
The provider of this repository.
The default value is
GITHUB. -
Possible values:
- BITBUCKET — BITBUCKET
- GITHUB — GITHUB (default)
-
Default value: GITHUB
- Type: textarea
- Properties: Create, Nillable, Update
- Introduced: API version 66.0
- Description: Additional provider-specific configuration or metadata in a JSON or text format.
- Type: string
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Introduced: API version 64.0
- Description: The username or organization name that owns the repository.
-
Type: reference
-
Properties: Create, Filter, Group, Nillable, Sort, Update
-
Description:
The ID of the associated SourceCodeRepoProvider that handles the connection to this repository.
This field is a relationship field.
-
Relationship name: SourceCodeRepoProvider
-
Relationship type: relationship
-
Refers to: SourceCodeRepoProvider
This object has the following associated objects. If the API version isn’t specified, they’re available in the same API versions as this object. Otherwise, they’re available in the specified API version.