artifacts
fun artifacts(vararg patterns: String): Cleanup.KeepRule.HistoryAndStatistics
Content copied to clipboard
Specifies that only artifacts matched by patterns should be kept in builds preserved by this keep rule. History and statistics will be automatically preserved, logs will be removed (if no other keep rule specifies keeping them).