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.

If anyone wants to test this, the relevant PR to build is: 
https://github.com/jenkinsci/enhanced-old-build-discarder-plugin/pull/3

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/a6d75dd3-8fdc-4556-87c4-87e601e06ff6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to