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

Add option to install .hpi/.jpi files and resolve dependencies

      One use case I have seen crop up in issues for docker is installing a specific hpi/jpi file and wanting to get the dependencies resolved. This can be useful for plugins for Jenkins which may be internal to a company.

      Maybe a new command line option --jpis or something which takes a list of jpi files and resolves their dependencies (via download).

          [JENKINS-58859] Add option to install .hpi/.jpi files and resolve dependencies

          Natasha Stopa added a comment -

          Will the original .jpi/.hpi be installed in the same directory as the dependencies?  Currently the way the tool works is that it will resolve all the dependencies of a plugin/list of plugins specified and then install any dependencies that are not currently installed or bundled.  So if the original .jpi/.hpi is located in the plugin directory and you specify that plugin to be installed, the tool will should install all of the dependencies not currently installed. So I'm not sure if there really needs to be a separate option for this, or maybe the use case is slightly different from the way it currently works.

          Natasha Stopa added a comment - Will the original .jpi/.hpi be installed in the same directory as the dependencies?  Currently the way the tool works is that it will resolve all the dependencies of a plugin/list of plugins specified and then install any dependencies that are not currently installed or bundled.  So if the original .jpi/.hpi is located in the plugin directory and you specify that plugin to be installed, the tool will should install all of the dependencies not currently installed. So I'm not sure if there really needs to be a separate option for this, or maybe the use case is slightly different from the way it currently works.

            stopalopa Natasha Stopa
            slide_o_mix Alex Earl
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: