UNPKG

@jameslnewell/buildkite-pipelines

Version:
60 lines (59 loc) 1.63 kB
import { PluginSchema } from '../../schema'; import { PluginBuilder } from '../PluginBuilder'; interface DownloadInput { from: string; to: string; } interface UploadInput { from: string; to: string; step?: string | undefined; build?: string | undefined; } /** * @see https://github.com/buildkite-plugins/artifacts-buildkite-plugin */ export declare class ArtifactsPlugin implements PluginBuilder { #private; static PLUGIN: string; /** * @deprecated Use .setCompressed() instead */ compressed(file: string): this; setCompressed(file: string): this; /** * @deprecated Use .addDownload() instead */ download(file: string | DownloadInput): this; /** * @deprecated Use .addDownload() instead */ setDownload(glob: string | DownloadInput): this; addDownload(glob: string | DownloadInput): this; /** * @deprecated Use .addUpload() instead */ upload(glob: string | UploadInput): this; /** * @deprecated Use .addUpload() instead */ setUpload(glob: string | UploadInput): this; addUpload(glob: string | UploadInput): this; /** * @deprecated Use .setStep() instead */ step(id: string): this; setStep(id: string): this; /** * @deprecated Use .setIgnoreMissing() instead */ ignoreMissing(ignore?: boolean): this; setIgnoreMissing(ignore: boolean): this; /** * @deprecated Use .setSkipOnStatus() instead */ skipOnStatus(status: number): this; setSkipOnStatus(status: number): this; build(): PluginSchema | Promise<PluginSchema>; } export {};