artifacts
Adds an artifacts-level clean-up rule. Either days or builds must be non-null. If they are both null, clean-up will not be configured.
Parameters
days
number of days to store artifacts
builds
number of successful builds to store artifacts for
artifact Patterns
patterns for artifacts clean-up. If not specified, all artifacts will be removed.