Represents a repository used by a build definition.

interface BuildRepository {
    checkoutSubmodules?: boolean;
    clean?: string;
    defaultBranch?: string;
    id?: string;
    name?: string;
    properties?: { [key: string]: string };
    rootFolder?: string;
    type?: string;
    url?: string;
}

Properties

checkoutSubmodules?: boolean

Indicates whether to checkout submodules.

clean?: string

Indicates whether to clean the target folder when getting code from the repository.

defaultBranch?: string

The name of the default branch.

id?: string

The ID of the repository.

name?: string

The friendly name of the repository.

properties?: { [key: string]: string }
rootFolder?: string

The root folder.

type?: string

The type of the repository.

url?: string

The URL of the repository.