artifacts

Artifact arrays are common throughout Spinnaker, and are largely the same.

An artifact is an object that references an external resource.

The objects and endpoints found in:

  • artifacts,
  • boundArtifact,
  • createdArtifacts,
  • expectedArtifacts,
  • matchArtifact,
  • optionalArtifacts,
  • and resolvedExpectedArtifacts,

are the same. Additionally:

  • boundArtifact,
  • defaultArtifact,
  • and matchArtifact

can be found as sub-arrays of expectedArtifacts resolvedExpectedArtifacts.

The table below continues the path from the artifact array:

KeyTypeDescription
artifactAccountstringIf your artifact either was not supplied from a trigger, or it was not found in a prior execution, this account provides a default artifact.
customKindboolean
location
metadata.accountstring
metadata.idstringThe unique ID of the default artifact
namestringThe display name of the default artifact
provenance
referencestring
typestring
versionstringwhat version/branch of the artifact should be read from the account.
idstring
useDefaultArtifactbooleanIf your artifact either was not supplied from a trigger, or it was not found in a prior execution, the artifact specified below ends up in your pipeline’s execution context.
usePriorArtifactbooleanAttempt to match against an artifact in the prior pipeline execution’s context. This ensures that you always be using the most recently supplied artifact to this pipeline and is generally a safe choice.
uuid

Last modified March 3, 2023: (2d069084)