i see options to either only archive artifacts from all builds, or only the artifacts from the last successful build. is there any way or with a plugin to say archive the artifacts from the last 10 successful builds?
thanks
Actually to keep a given number of artifacts you must select "Discard old builds" (at the very beginning of the configuration page) and input the number of build artifacts to archives. You can also consider the number of days to keep.
You can set a build be kept forever, either manually or by plugin with an automated 'release' or 'promoted' build.
I agree this is confusing.