UploadArtifactOptions

external interface UploadArtifactOptions(source)

Properties

Link copied to clipboard
abstract val compressionLevel: Number?

The level of compression for Zlib to be applied to the artifact archive. The value can range from 0 to 9:

Link copied to clipboard
abstract val retentionDays: Number?

Duration after which artifact will expire in days.

Link copied to clipboard
abstract val skipArchive: Boolean?

If true, the artifact will be uploaded without being archived (zipped). This is only supported when uploading a single file. When using this option, the artifact will not be compressed. When using this option, the name parameter passed to the upload is ignored. Instead, the name of the file is used as the name of the artifact.