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

docker image: helper script for direct hpi file deployment with dependencies

    • Icon: Improvement Improvement
    • Resolution: Won't Do
    • Icon: Minor Minor
    • docker
    • None

      When deploying plugins directly as *.hpi files (by directly copying to /usr/share/jenkins/ref/plugins/libvirt-slave.jpi), their dependencies aren't resolved automatically, so the operator has to do that manually.

      It would be very great to have some script (like install-plugins.sh) that takes care of that:
           install-plugin-hpi.sh <path/to/foo.hpi>

       

          [JENKINS-53412] docker image: helper script for direct hpi file deployment with dependencies

          that's what install-plugins.sh does

          Carlos Sanchez added a comment - that's what install-plugins.sh does

          Doesn't seem so. install-plugin.sh always tries to download the plugins.

          But my usecase is different: i've got the .hpi file just locally (not on jenkins.io repo).

          Enrico Weigelt added a comment - Doesn't seem so. install-plugin.sh always tries to download the plugins. But my usecase is different: i've got the .hpi file just locally (not on jenkins.io repo).

          Mark Waite added a comment -

          Plugin installation manager tool will use locally available plugin files, though as far as I know, that is also what was done with install-plugins.sh. Closing this as "Won't do" because I don't understand what the user was requesting.

          The install-plugins.sh script was deprecated 18 months ago. It has been removed from the Jenkins Docker images beginning with 2.357, June 28, 2022. It will be removed from Jenkins 2.346.2 July 13, 2022.

          Replaced by the jenkins-plugin-cli script that uses plugin installation manager tool to manage plugins, their Jenkins versions, and can report security issues with plugins.

          Mark Waite added a comment - Plugin installation manager tool will use locally available plugin files, though as far as I know, that is also what was done with install-plugins.sh. Closing this as "Won't do" because I don't understand what the user was requesting. The install-plugins.sh script was deprecated 18 months ago. It has been removed from the Jenkins Docker images beginning with 2.357, June 28, 2022. It will be removed from Jenkins 2.346.2 July 13, 2022. Replaced by the jenkins-plugin-cli script that uses plugin installation manager tool to manage plugins, their Jenkins versions, and can report security issues with plugins.

            csanchez Carlos Sanchez
            metux Enrico Weigelt
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: