Embedded Base64

Rather than refer to a resource by a URI, you can embed the artifact’s contents directly into the reference field in Base64.

Embedded Base64 artifact in the UI

The pipeline UI exposes the following fields for the embedded Base64 artifact:

FieldExplanation
AccountAlways “embedded-artifact”.
NameA human-readable identifier for the artifact.
ContentsThe Base64-encoded contents of the artifact.

In a trigger

When configuring a trigger, you can (for example) configure an embedded Base64 default artifact.

Providing an embedded Base64 default artifact for a trigger’s expected artifact.

Providing an embedded Base64 default artifact for a trigger’s expected artifact.

In a pipeline stage

When configuring certain stages, such as a “Deploy (Manifest)” stage, you can use embedded Base64 for a required artifact. You can either use a previously-defined artifact (for example, an artifact defined in a trigger) or define an artifact inline.

Configuring a Deploy (Manifest) stage to use an embedded artifact.

Configuring a Deploy (Manifest) stage to use an embedded artifact.

Embedded Base64 artifact in a pipeline definition

The following are the fields that make up an embedded Base64 artifact:

FieldExplanation
typeAlways embedded/base64.
referenceThe Base64-encoded artifact contents.
nameAn optional human-readable identifier.

The following is an example JSON representation of an embedded Base64 artifact, as it would appear in a pipeline definition:

  1. {
  2. "type": "embedded/base64",
  3. "reference": "dmFsdWU6IDEKbXlrZXk6IG15dmFsdWU=",
  4. "name": "my-properties-file",
  5. }

Last modified July 1, 2021: docs(fix): fix internal links (#98) (d74c3a4)