timja / jenkins-gh-issues-poc-06-18

0 stars 0 forks source link

[JENKINS-1292] "Keep this build forever" should be available without purge turned on #8629

Open timja opened 16 years ago

timja commented 16 years ago

I have a stream of builds from some time ago. I now want to purge old builds.
I want to ensure I keep some builds.

The "Keep this build forever" button is not available unless I have enabled
"Discard old builds" in the project configuration. I would like to be able to
mark builds to keep before turning on discard.

A functional work around is to turn on discard with no parameters set (which is
disconcerting because it's not clear what the behavior will be) or with
parameters set so that no build qualifies for discarding. This is also somewhat
bothersome.


Originally reported by dmsasser, imported from: "Keep this build forever" should be available without purge turned on
  • status: Open
  • priority: Major
  • resolution: Unresolved
  • imported: 2022/01/10
timja commented 11 years ago

merkel:

Hi,

If future decision is done to discard (e.g. to free blocked unnecessary resources) old builds indeed I would have expected that decision to "keep this build forever" is independend from setting "discard old builds".

I encountered that use case as well.

The work around described in description is unfortunately not acceptable in my case since behavior is unclear to end users. It is hard to make it pass quality gates in my scenario.

Suggestion seems to be to have the "keep this build forever" available independly from discard settings.

Additional suggestion is to have a hint included while displaying "keep this build forever" although discarding is completely turned off currently. Hint and marking the build is still valid then since current settings might change.

Regards and all the best, – Oliver