getArtifact

public final String getArtifact(String name)

Returns the content of an artifact, exactly as the run produced it.

Return

The artifact content.

Parameters

name

The artifact file name, for example document.json.

Throws

Thrown when is null or empty.

Thrown when this run did not produce that artifact.