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

Installing a plugin with optional dependencies doesn't upgrade the optional dependencies when needed

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      If you have a plugin A which optionally depends on plugin B.

      You start with just plugin B 1.0 installed in your system.

      Install plugin A 1.0 (which depends optionally on plugin B 1.1) and Jenkins does not upgrade plugin B (it should, and if the dependency was non-optional it will)

      Similarly if you upgrade plugin A to 1.1 (which now optionally depends on plugin B 2.0) again Jenkins does not upgrade plugin B (even though for a non-optional plugin it will)

        Attachments

          Activity

          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Stephen Connolly
          Path:
          core/src/main/java/hudson/model/UpdateSite.java
          http://jenkins-ci.org/commit/jenkins/01d5fbc2e06d76db1501ad3e24691c2643a9acd7
          Log:
          [FIXED JENKINS-19736] Installing a plugin with optional dependencies doesn't upgrade the optional dependencies when needed

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Stephen Connolly Path: core/src/main/java/hudson/model/UpdateSite.java http://jenkins-ci.org/commit/jenkins/01d5fbc2e06d76db1501ad3e24691c2643a9acd7 Log: [FIXED JENKINS-19736] Installing a plugin with optional dependencies doesn't upgrade the optional dependencies when needed
          Hide
          dogfood dogfood added a comment -

          Integrated in jenkins_main_trunk #2894
          [FIXED JENKINS-19736] Installing a plugin with optional dependencies doesn't upgrade the optional dependencies when needed (Revision 01d5fbc2e06d76db1501ad3e24691c2643a9acd7)

          Result = UNSTABLE
          Stephen Connolly : 01d5fbc2e06d76db1501ad3e24691c2643a9acd7
          Files :

          • core/src/main/java/hudson/model/UpdateSite.java
          Show
          dogfood dogfood added a comment - Integrated in jenkins_main_trunk #2894 [FIXED JENKINS-19736] Installing a plugin with optional dependencies doesn't upgrade the optional dependencies when needed (Revision 01d5fbc2e06d76db1501ad3e24691c2643a9acd7) Result = UNSTABLE Stephen Connolly : 01d5fbc2e06d76db1501ad3e24691c2643a9acd7 Files : core/src/main/java/hudson/model/UpdateSite.java
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Stephen Connolly
          Path:
          core/src/main/java/hudson/model/UpdateSite.java
          http://jenkins-ci.org/commit/jenkins/07432c2a1c0906d9c62a7d46502e8b91301e15d8
          Log:
          [FIXED JENKINS-19736] Installing a plugin with optional dependencies doesn't upgrade the optional dependencies when needed

          (cherry picked from commit 01d5fbc2e06d76db1501ad3e24691c2643a9acd7)

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Stephen Connolly Path: core/src/main/java/hudson/model/UpdateSite.java http://jenkins-ci.org/commit/jenkins/07432c2a1c0906d9c62a7d46502e8b91301e15d8 Log: [FIXED JENKINS-19736] Installing a plugin with optional dependencies doesn't upgrade the optional dependencies when needed (cherry picked from commit 01d5fbc2e06d76db1501ad3e24691c2643a9acd7)

            People

            • Assignee:
              Unassigned
              Reporter:
              stephenconnolly Stephen Connolly
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: