DefaultArtifactClient

Functions

Link copied to clipboard
open override fun deleteArtifact(artifactName: String, options: FindOptions): <Error class: unknown class><DeleteArtifactResponse>

Delete an Artifact

Link copied to clipboard
open override fun downloadArtifact(    artifactId: Number,     options: DownloadArtifactOptions): <Error class: unknown class><DownloadArtifactResponse>

Downloads an artifact and unzips the content.

Link copied to clipboard
open override fun getArtifact(artifactName: String, options: FindOptions): <Error class: unknown class><GetArtifactResponse>

Finds an artifact by name. If there are multiple artifacts with the same name in the same workflow run, this will return the latest. If the artifact is not found, it will throw.

Link copied to clipboard
open override fun listArtifacts(options: ListArtifactsOptions): <Error class: unknown class><ListArtifactsResponse>

Lists all artifacts that are part of the current workflow run. This function will return at most 1000 artifacts per workflow run.

Link copied to clipboard
open override fun uploadArtifact(    name: String,     files: <Error class: unknown class><String>,     rootDirectory: String,     options: UploadArtifactOptions): <Error class: unknown class><UploadArtifactResponse>

Uploads an artifact.