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

Optional Extensions should be reloaded when dependencies are dynamically loaded

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • core
    • None

      If a plugin A has an optional dependency on plugin B, and has marked an @Extension (optional=true), Jenkins will properly fail to load that extension. However, if plugin B is then later installed, the optional dependencies from plugin A are not re-evaluated.

      Jenkins should keep track of optional extensions which failed to load, and retry them when new plugins are installed. Perhaps it could only due so if the plugin for that extension expressed an optional dependency on the newly installed plugin, but even that doesn't seem necessary?

      This is really just a usability issue (since you can restart to fix it), but may prove frustrating for novice users.

          [JENKINS-14392] Optional Extensions should be reloaded when dependencies are dynamically loaded

          Ryan Campbell created issue -
          Jesse Glick made changes -
          Link New: This issue duplicates JENKINS-19976 [ JENKINS-19976 ]
          Jesse Glick made changes -
          Resolution New: Duplicate [ 3 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 145028 ] New: JNJira + In-Review [ 191314 ]
          James Nord made changes -
          Resolution Original: Duplicate [ 3 ]
          Status Original: Resolved [ 5 ] New: Reopened [ 4 ]
          James Nord made changes -
          Link Original: This issue duplicates JENKINS-19976 [ JENKINS-19976 ]
          Daniel Beck made changes -
          Status Original: Reopened [ 4 ] New: Open [ 1 ]
          James Nord made changes -
          Summary Original: Optional Extensions are reloaded when dependencies are dynamically loaded New: Optional Extensions should be reloaded when dependencies are dynamically loaded
          CloudBees Inc. made changes -
          Remote Link New: This issue links to "CloudBees Internal CJP-6696 (Web Link)" [ 19058 ]
          Lucie Votypkova made changes -
          Link New: This issue is related to JENKINS-49026 [ JENKINS-49026 ]
          Jesse Glick made changes -
          Link New: This issue relates to JENKINS-50336 [ JENKINS-50336 ]
          Jesse Glick made changes -
          Link New: This issue relates to JENKINS-19508 [ JENKINS-19508 ]

            Unassigned Unassigned
            recampbell Ryan Campbell
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: