Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-23757

Prevents installation of plugins requiring a newer Jenkins

    • Icon: New Feature New Feature
    • Resolution: Unresolved
    • Icon: Minor Minor
    • core
    • None

      The update center is (perhaps badly) designed to alert users of newer versions of plugins that they have installed but which require a newer version of Jenkins as an incentive to upgrade Jenkins

      While there are some plugins that may indeed run correctly on older versions of Jenkins than they were built on (so people may legitimately need an out to install a version that claims to require a newer version of Jenkins) in 99.9% of cases users do not want to install a plugin where:

      • the plugin (claims it) needs a newer version of Jenkins
      • the plugin depends on another plugin
        • the dependent plugin is not optional and not installed in the user's Jenkins and the version(s) available from the update center(s) all require a newer version of Jenkins
        • the dependent plugin is installed (optional or non-optional dependency), but it is an older version than specified and the version(s) available from the update center(s) all require a newer version of Jenkins

      So this RFE would disable the checkbox for those plugins that are providing a compatibility warning.

          [JENKINS-23757] Prevents installation of plugins requiring a newer Jenkins

          Jesse Glick added a comment -

          I think there is no need to even provide the option to install a plugin claiming it cannot be installed. If you really think you know better, rebuild it from sources, or take the ten seconds to open the JAR in Emacs and edit its manifest.

          Jesse Glick added a comment - I think there is no need to even provide the option to install a plugin claiming it cannot be installed. If you really think you know better, rebuild it from sources, or take the ten seconds to open the JAR in Emacs and edit its manifest.

          Well I disagree that it is a duplicate... we can disagree as to whether the switch is necessary... but the switch feature makes this not a duplicate but actually a related issue

          Stephen Connolly added a comment - Well I disagree that it is a duplicate... we can disagree as to whether the switch is necessary... but the switch feature makes this not a duplicate but actually a related issue

          Daniel Beck added a comment -

          More serious now that Jenkins refuses to load these plugins (JENKINS-21486).

          Daniel Beck added a comment - More serious now that Jenkins refuses to load these plugins ( JENKINS-21486 ).

          Daniel Beck added a comment -

          Rephrased to not make it optional given the new behavior.

          Daniel Beck added a comment - Rephrased to not make it optional given the new behavior.

            Unassigned Unassigned
            stephenconnolly Stephen Connolly
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: