• Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Critical Critical
    • shared-objects-plugin
    • None

      When using the Populate Tools Installations option the SharedObjects plugin goes and tries to install ALL the tools defined globally. The result is that a proliferation of mavens, or JDKs, or Git, get installed on the slave where the job runs.

      In some cases, and depending on the way some tools are installed, the practice of installing several versions of the same tool may lead to undesirable effects – making this plugin harmful in this context and hence banned (unfortunately).

      Instead of installing ALL versions of ALL tools, the plugin should install only the tools/versions specified by the job. When selected, the Populate Tools Installations toggle should be expanded with the list of all tools/versions available, with a selection box for each. See the Tool Environment plugin for a good example of the desired functionality (http://wiki.hudson-ci.org/display/HUDSON/Tool+Environment+Plugin).

          [JENKINS-14631] Do not install ALL the tools

          ToolEnvironment plugin enables you to select which tool to populate as environment variables.
          Do you want the SharedObjects plugin to provide the ability to restrict tools?

          Gregory Boissinot added a comment - ToolEnvironment plugin enables you to select which tool to populate as environment variables. Do you want the SharedObjects plugin to provide the ability to restrict tools?

          Yes please, the same functionality would be preferred. Also, I am not sure if SharedObjects should install the wanted tools or if it should leave it up to the core instead, installing the referenced tool when needed only. Not sure, and no hard opinion on the matter either at this point.

          Patrick Renaud added a comment - Yes please, the same functionality would be preferred. Also, I am not sure if SharedObjects should install the wanted tools or if it should leave it up to the core instead, installing the referenced tool when needed only. Not sure, and no hard opinion on the matter either at this point.

            gbois Gregory Boissinot
            prenaud76 Patrick Renaud
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: