interface Artifact {
    alias?: string;
    definitionReference?: { [key: string]: ArtifactSourceReference };
    isPrimary?: boolean;
    isRetained?: boolean;
    sourceId?: string;
    type?: string;
}

Properties

alias?: string

Gets or sets alias.

definitionReference?: { [key: string]: ArtifactSourceReference }

Gets or sets definition reference. e.g. {"project":{"id":"fed755ea-49c5-4399-acea-fd5b5aa90a6c","name":"myProject"},"definition":{"id":"1","name":"mybuildDefinition"},"connection":{"id":"1","name":"myConnection"}}.

isPrimary?: boolean

Indicates whether artifact is primary or not.

isRetained?: boolean

Indicates whether artifact is retained by release or not.

sourceId?: string
type?: string

Gets or sets type. It can have value as 'Build', 'Jenkins', 'GitHub', 'Nuget', 'Team Build (external)', 'ExternalTFSBuild', 'Git', 'TFVC', 'ExternalTfsXamlBuild'.