Currently you can configure a job to keep either artifacts of all builds or only
from the latest successful build.
I have a job with quite large artifacts. I want to keep a long build history
(logs and build times). Also I would like to keep the latest 5 artifacts (or so)
to be able to analyze them etc..
For this to work I would like to have an option in the artifacts settings:
[ ] Discard all but the last successful artifact to save disk space
[ ] Keep only artifacts of the last [<number>] successful builds to save disk space