Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Cleanup ¶ added in v0.80.0
func Cleanup(directory string)
Cleanup removes previous downloaded artifacts
func ShouldDownloadArtifact ¶
func ShouldDownloadArtifact(jobID string, passed, timedOut bool, async bool, cfg config.ArtifactDownload) bool
ShouldDownloadArtifact returns true if it should download artifacts, otherwise false
Types ¶
type ArtifactDownloader ¶
type ArtifactDownloader interface {
DownloadArtifact(jobID string)
}
ArtifactDownloader defines download functions
Click to show internal directories.
Click to hide internal directories.