There is a new post build action that can mark the build as keep forever when promoted. But when a future build is promoted, it would be nice to clear the keep forever flag on the previously promoted build.

      http://jenkins.361315.n4.nabble.com/Request-for-feedback-Promoted-Build-plugin-td3325084.html

          [JENKINS-8971] Keep only last promoted build forever

          Jose Sa added a comment -

          It would be interesting indeed that the builds "kept" had some configurations for automatic cleanup, like keeping only the last X number of builds of a given promotion.

          Jose Sa added a comment - It would be interesting indeed that the builds "kept" had some configurations for automatic cleanup, like keeping only the last X number of builds of a given promotion.

            petehayes Peter Hayes
            petehayes Peter Hayes
            Votes:
            3 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: