[
https://issues.jenkins-ci.org/browse/JENKINS-13934?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=163340#comment-163340
]
OHTAKE Tomohiro commented on JENKINS-13934:
-------------------------------------------
(1) and (2) can be specified independently.
See screenshot attached.
> Make it possible to delete all except latest 'n' archived artifacts
> -------------------------------------------------------------------
>
> Key: JENKINS-13934
> URL: https://issues.jenkins-ci.org/browse/JENKINS-13934
> Project: Jenkins
> Issue Type: Improvement
> Components: postbuild-task
> Affects Versions: current
> Environment: Sun/Solaris 9 ; Java 1.6.0_10; Jenkins ver. 1.466
> Reporter: Paul Croome
> Assignee: OHTAKE Tomohiro
> Priority: Minor
> Attachments: Max_number_of_builds_to_keep_with_artifacts.png
>
>
> In the job configuration page, under Post-build Actions > Archive the
> Artifacts > Advanced
> it's possible to select the checkbox "Discard all but the last
> successful/stable artifact to save disk space".
> It would be useful if I could choose "Discard all but the last 'n'
> successful/stable artifacts to save disk space".
> (By comparison: The option "Discard Old Builds" allows me to specify "Max #
> of builds to keep". A similar feature for archived artifacts would be nice.)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira