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

Manual plugin upload should download plugin dependencies

    • Icon: New Feature New Feature
    • Resolution: Fixed
    • Icon: Minor Minor
    • core
    • None
    • Linux

      When manually uploading a plugin X (Manage Plugins -> Advanced -> Upload Plugin) Jenkins does not automatically install plugins which X depends on, unlike with the regular plugin installation from the catalog (Manage Plugins -> Available).

          [JENKINS-15057] Manual plugin upload should download plugin dependencies

          Oleg Nenashev added a comment -

          Probably, the issue should be closed with the "as designed" status.
          BTW, a notification in UI would be useful

          Oleg Nenashev added a comment - Probably, the issue should be closed with the "as designed" status. BTW, a notification in UI would be useful

          Daniel Beck added a comment -

          I disagree. With dynamic loading enabled, it really attempts to behave as update center installation.

          This behavior should be changed, and downloading only not happen when the appropriate .never system property is set (i.e. Jenkins in offline mode).

          Still, not a bug.

          Daniel Beck added a comment - I disagree. With dynamic loading enabled, it really attempts to behave as update center installation. This behavior should be changed, and downloading only not happen when the appropriate .never system property is set (i.e. Jenkins in offline mode). Still, not a bug.

          Alex Earl added a comment -

          Alex Earl added a comment - Fixed in https://github.com/jenkinsci/jenkins/pull/2239

          Code changed in jenkins
          User: Daniel Beck
          Path:
          core/src/main/java/hudson/PluginManager.java
          test/src/test/java/hudson/PluginManagerTest.java
          test/src/test/resources/plugins/Parameterized-Remote-Trigger.hpi
          test/src/test/resources/plugins/credentials.hpi
          test/src/test/resources/plugins/icon-shim.hpi
          test/src/test/resources/plugins/token-macro.hpi
          test/src/test/resources/plugins/upload-test-update-center.json
          http://jenkins-ci.org/commit/jenkins/d5c508dece359f22799acaf84830be9e3a9e2ec3
          Log:
          Merge pull request #2239 from slide/master

          [FIXED JENKINS-15057] Add dependency resolution to manually uploaded plugins.

          Compare: https://github.com/jenkinsci/jenkins/compare/274183dba2bc...d5c508dece35

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Daniel Beck Path: core/src/main/java/hudson/PluginManager.java test/src/test/java/hudson/PluginManagerTest.java test/src/test/resources/plugins/Parameterized-Remote-Trigger.hpi test/src/test/resources/plugins/credentials.hpi test/src/test/resources/plugins/icon-shim.hpi test/src/test/resources/plugins/token-macro.hpi test/src/test/resources/plugins/upload-test-update-center.json http://jenkins-ci.org/commit/jenkins/d5c508dece359f22799acaf84830be9e3a9e2ec3 Log: Merge pull request #2239 from slide/master [FIXED JENKINS-15057] Add dependency resolution to manually uploaded plugins. Compare: https://github.com/jenkinsci/jenkins/compare/274183dba2bc...d5c508dece35

          Jan Molak added a comment -

          Awesome, good job danielbeck! This will make automated testing of Jenkins plugins much easier

          Jan Molak added a comment - Awesome, good job danielbeck ! This will make automated testing of Jenkins plugins much easier

          Daniel Beck added a comment -

          janek: slide_o_mix deserves all your praise, I just managed to click a giant green button on GitHub.

          Daniel Beck added a comment - janek : slide_o_mix deserves all your praise, I just managed to click a giant green button on GitHub.

          Jan Molak added a comment -

          slide_o_mix, danielbeck - thanks guys, you rock!

          Jan Molak added a comment - slide_o_mix , danielbeck - thanks guys, you rock!

            slide_o_mix Alex Earl
            m2spring Max Spring
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: