uploadArtifact

abstract fun uploadArtifact(name: String, files: ReadonlyArray<String>, rootDirectory: String, options: UploadArtifactOptions = definedExternally): Promise<UploadArtifactResponse>(source)

Uploads an artifact.

Parameters

name

The name of the artifact, required

files

A list of absolute or relative paths that denote what files should be uploaded

rootDirectory

An absolute or relative file path that denotes the root parent directory of the files being uploaded

options

Extra options for customizing the upload behavior