BuildRepository interface
Represents a repository used by a build definition.
Properties
| checkout |
Indicates whether to checkout submodules. |
| clean | Indicates whether to clean the target folder when getting code from the repository. |
| default |
The name of the default branch. |
| id | The ID of the repository. |
| name | The friendly name of the repository. |
| properties | |
| root |
The root folder. |
| type | The type of the repository. |
| url | The URL of the repository. |
Property Details
checkoutSubmodules
Indicates whether to checkout submodules.
checkoutSubmodules: boolean
Property Value
boolean
clean
Indicates whether to clean the target folder when getting code from the repository.
clean: string
Property Value
string
defaultBranch
The name of the default branch.
defaultBranch: string
Property Value
string
id
The ID of the repository.
id: string
Property Value
string
name
The friendly name of the repository.
name: string
Property Value
string
properties
properties: {[key: string]: string}
Property Value
{[key: string]: string}
rootFolder
The root folder.
rootFolder: string
Property Value
string
type
The type of the repository.
type: string
Property Value
string
url
The URL of the repository.
url: string
Property Value
string