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

When installing plugins with overlapping dependencies, Jenkins downloads the duplicate plugins multiple times

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • core
    • None
    • Jenkins-STABLE 1.409.1 on Solaris/x86

      I selected a few static analysis plugins for installation, when I clicked "Install" Jenkins computed the dependencies for each one, each dependency was downloaded the number of times that it was referenced.
      Each time the already-downloaded .hpi was moved to .bak and downloaded again.
      Potentially this could cause a problem with backing out if a particular dependency already had a .bak file.
      See attached screenshot.

          [JENKINS-10569] When installing plugins with overlapping dependencies, Jenkins downloads the duplicate plugins multiple times

          evernat added a comment -

          I have submitted a pull request:
          https://github.com/jenkinsci/jenkins/pull/598

          evernat added a comment - I have submitted a pull request: https://github.com/jenkinsci/jenkins/pull/598

          Code changed in jenkins
          User: unknown
          Path:
          core/src/main/java/hudson/model/UpdateSite.java
          http://jenkins-ci.org/commit/jenkins/6c83004dc1abe65f578c29846dc04e07cecf83bc
          Log:
          [FIX JENKINS-10569] When installing plugins with overlapping dependencies, Jenkins downloads the duplicate plugins multiple times

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: unknown Path: core/src/main/java/hudson/model/UpdateSite.java http://jenkins-ci.org/commit/jenkins/6c83004dc1abe65f578c29846dc04e07cecf83bc Log: [FIX JENKINS-10569] When installing plugins with overlapping dependencies, Jenkins downloads the duplicate plugins multiple times

          Code changed in jenkins
          User: Olivier Lamy
          Path:
          core/src/main/java/hudson/model/UpdateSite.java
          http://jenkins-ci.org/commit/jenkins/52f18562ab3f1f255774b13df2f3b69e8de1819e
          Log:
          Merge pull request #598 from evernat/master

          [FIXED JENKINS-10569] When installing plugins with overlapping dependencies, Jenkins downloads the duplicate plugins multiple times

          Compare: https://github.com/jenkinsci/jenkins/compare/ff3cf5e1047f...52f18562ab3f

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Olivier Lamy Path: core/src/main/java/hudson/model/UpdateSite.java http://jenkins-ci.org/commit/jenkins/52f18562ab3f1f255774b13df2f3b69e8de1819e Log: Merge pull request #598 from evernat/master [FIXED JENKINS-10569] When installing plugins with overlapping dependencies, Jenkins downloads the duplicate plugins multiple times Compare: https://github.com/jenkinsci/jenkins/compare/ff3cf5e1047f...52f18562ab3f

          Code changed in jenkins
          User: Olivier Lamy
          Path:
          changelog.html
          http://jenkins-ci.org/commit/jenkins/2fd5f247c4aa1fa92f11f9be9d26cf17a27ea142
          Log:
          JENKINS-10569 changelog entry

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Olivier Lamy Path: changelog.html http://jenkins-ci.org/commit/jenkins/2fd5f247c4aa1fa92f11f9be9d26cf17a27ea142 Log: JENKINS-10569 changelog entry

          dogfood added a comment -

          Integrated in jenkins_main_trunk #2043
          [FIX JENKINS-10569] When installing plugins with overlapping dependencies, Jenkins downloads the duplicate plugins multiple times (Revision 6c83004dc1abe65f578c29846dc04e07cecf83bc)

          Result = SUCCESS
          unknown : 6c83004dc1abe65f578c29846dc04e07cecf83bc
          Files :

          • core/src/main/java/hudson/model/UpdateSite.java

          dogfood added a comment - Integrated in jenkins_main_trunk #2043 [FIX JENKINS-10569] When installing plugins with overlapping dependencies, Jenkins downloads the duplicate plugins multiple times (Revision 6c83004dc1abe65f578c29846dc04e07cecf83bc) Result = SUCCESS unknown : 6c83004dc1abe65f578c29846dc04e07cecf83bc Files : core/src/main/java/hudson/model/UpdateSite.java

          dogfood added a comment -

          Integrated in jenkins_main_trunk #2044
          JENKINS-10569 changelog entry (Revision 2fd5f247c4aa1fa92f11f9be9d26cf17a27ea142)

          Result = SUCCESS
          Olivier Lamy : 2fd5f247c4aa1fa92f11f9be9d26cf17a27ea142
          Files :

          • changelog.html

          dogfood added a comment - Integrated in jenkins_main_trunk #2044 JENKINS-10569 changelog entry (Revision 2fd5f247c4aa1fa92f11f9be9d26cf17a27ea142) Result = SUCCESS Olivier Lamy : 2fd5f247c4aa1fa92f11f9be9d26cf17a27ea142 Files : changelog.html

          Alex Lehmann added a comment - - edited

          i believe this is not 100% fixed in 1.490, I got one duplicated dependency (though the static analysis plugin is not downloaded for each plugin)


          http://imgur.com/5EdnY

          (not quite sure how to attach an image to a comment)

          Alex Lehmann added a comment - - edited i believe this is not 100% fixed in 1.490, I got one duplicated dependency (though the static analysis plugin is not downloaded for each plugin) http://imgur.com/5EdnY (not quite sure how to attach an image to a comment)

            bikram565 Bikram Pattanaik
            edrandall Ed Randall
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: