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

Get rid of dependency on Extended Choice Parameter plugin

    XMLWordPrintable

Details

    Description

      Is there a real need to depend on Extended Choice Parameter? I'd like to use Custom Tools, but don't want to install an extra plugin like Extended Choice (my team hates it ). So if Custom Tools can work without additional dependency, that would be fantastic.

      I've noticed that Extended Choice is used only for tools versioning (which throws exceptions anyway), would be great to simply specify the version as a plain string.

      Attachments

        Issue Links

          Activity

            oleg_nenashev Oleg Nenashev added a comment -

            The hardcoded usage of Extended Choice plugin was a bad architectural decision in any case.
            It was quite OK till 0.29, but current versions are horribly unstable. The code is not good as well.

            I'm going to add ToolVersionProvider extension point and then decouple the ExtendedChoice integration into a separate plugin.
            See JENKINS-24114 for more info. Unfortunately, I still cannot find a time to implement the feature.

            oleg_nenashev Oleg Nenashev added a comment - The hardcoded usage of Extended Choice plugin was a bad architectural decision in any case. It was quite OK till 0.29, but current versions are horribly unstable. The code is not good as well. I'm going to add ToolVersionProvider extension point and then decouple the ExtendedChoice integration into a separate plugin. See JENKINS-24114 for more info. Unfortunately, I still cannot find a time to implement the feature.

            That's still a good news since this is planned to be done. Thanks!

            ctapobep Stanislav Bashkyrtsev added a comment - That's still a good news since this is planned to be done. Thanks!
            oleg_nenashev Oleg Nenashev added a comment -

            Raising the priority according to the discussion in JENKINS-46141

            oleg_nenashev Oleg Nenashev added a comment - Raising the priority according to the discussion in JENKINS-46141
            oleg_nenashev Oleg Nenashev added a comment -

            The current plan is to detach the dependency to a plugin (HOSTING-426) and then to release a new 1.0 version of Custom Tools. For instances with tool versioning it will require some manual upgrade steps, but I see no other way to do it in a non-breaking mode.

            oleg_nenashev Oleg Nenashev added a comment - The current plan is to detach the dependency to a plugin (HOSTING-426) and then to release a new 1.0 version of Custom Tools. For instances with tool versioning it will require some manual upgrade steps, but I see no other way to do it in a non-breaking mode.

            Jenkins Security Advisory 2022-03-15 announced unfixed vulnerabilities in Extended Choice Parameter Plugin.

            kon Kalle Niemitalo added a comment - Jenkins Security Advisory 2022-03-15 announced unfixed vulnerabilities in Extended Choice Parameter Plugin.

            Hosting request for a new "Generic Tool" plugin that would be an alternative to Custom Tool with minimal dependencies: https://github.com/jenkins-infra/repository-permissions-updater/issues/2634

            It is not yet up at https://plugins.jenkins.io/generic-tool

            kon Kalle Niemitalo added a comment - Hosting request for a new "Generic Tool" plugin that would be an alternative to Custom Tool with minimal dependencies: https://github.com/jenkins-infra/repository-permissions-updater/issues/2634 It is not yet up at https://plugins.jenkins.io/generic-tool

            People

              Unassigned Unassigned
              ctapobep Stanislav Bashkyrtsev
              Votes:
              5 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated: