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
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈