Bewerken

Delen via


Artifact interface

Properties

alias

Gets or sets alias.

definitionReference

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

Indicates whether artifact is primary or not.

isRetained

Indicates whether artifact is retained by release or not.

sourceId
type

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

Property Details

alias

Gets or sets alias.

alias: string

Property Value

string

definitionReference

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"}}.

definitionReference: {[key: string]: ArtifactSourceReference}

Property Value

{[key: string]: ArtifactSourceReference}

isPrimary

Indicates whether artifact is primary or not.

isPrimary: boolean

Property Value

boolean

isRetained

Indicates whether artifact is retained by release or not.

isRetained: boolean

Property Value

boolean

sourceId

sourceId: string

Property Value

string

type

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

type: string

Property Value

string