DefaultArtifactClient
Functions
Link copied to clipboard
open override fun deleteArtifact(artifactName: String, options: FindOptions): Promise<DeleteArtifactResponse>
Delete an Artifact
Link copied to clipboard
open override fun downloadArtifact(artifactId: Number, options: DownloadArtifactOptions): Promise<DownloadArtifactResponse>
Downloads an artifact and unzips the content.
Link copied to clipboard
open override fun getArtifact(artifactName: String, options: FindOptions): Promise<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
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: ReadonlyArray<String>, rootDirectory: String, options: UploadArtifactOptions): Promise<UploadArtifactResponse>
Uploads an artifact.