I'm developing an update to the enhanced-old-build-discarder-plugin which adds a dropdown listing in the
Discard old builds setting
Strategy called Enhanced Log Rotator allowing for some additional conditional specifications with build discards. In modern Jenkins (at least 2.7.3 and up, though I expect this is true for many earlier versions as well) this Strategy can be selected and builds will continue to show their "
Keep Build Forever" option. Running some tests with a legacy Jenkins instance at 1.651.3, this option disappears.
Does anyone have an idea why? The plugin functions as desired, and the plugin is written as a basic extension of the BuildDiscarder.java from the Jenkins core. I don't see why anything in the plugin code should affect this interface listing, regardless of Jenkins version.