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

Unbundled / implicit plugin dependencies may be installed multiple times

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major Major
    • core
    • windows
      2.0-beta-1

      Run jenkins on windows (java -jar ...) in a clean jenkins home

      select a few plugins (pipeline - and something that depends on OWASP Markup Formatter)

      wait for the plugins to install
      create a new user

      Get told Jenkins is ready to use

      Rejoice

      Expected results

      Jenkins is ready to use with the plugins you installed

      Actual results

      A restart is required

      Go to http://localhost:8080/updateCenter/ and look at the status of plugins (may need to install another plugin)
      However you can see that

      • OWASP Markup Formatter Plugin antisamy-markup-formatter plugin is already installed. Jenkins needs to be restarted for the update to take effect
      • Pipeline workflow-aggregator plugin is already installed. Jenkins needs to be restarted for the update to take effect

      Both of these are incorrect.

      The wizard has requested the same version be installed multiple times.
      You can see this if you go to /pluginManager/installed and version 1.3 is installed - yet you can download to 1.3....

      So
      1) Jenkins should restart if it has installed plugins that require a restart to activate
      2) Jenkins should not try to install the same version of the plugin twice (infact it should not try to install any version of the same plugin twice - do it once and install the latest).

      For slow internet links the multiple isntalls will cause a longer than required setup time.

          [JENKINS-33950] Unbundled / implicit plugin dependencies may be installed multiple times

          James Nord created issue -
          James Nord made changes -
          Priority Original: Minor [ 4 ] New: Major [ 3 ]
          Spike Washburn made changes -
          Labels Original: 2.0 2.0-beta New: 2.0 2.0-beta community-bee
          James Nord made changes -
          Description Original: Run jenkins on windows (java -jar ...) in a clean jenkins home

          select a few plugins (pipeline - and something that depends on OWASP Markup Formatter)

          wait for the plugins to install
          create a new user

          Get told Jenkins is ready to use

          Rejoice

          h3. Expected results

          Jenkins is ready to use with the plugins you installed

          h3. Actual results

          A restart is required :-(

          Go to http://localhost:8080/updateCenter/ and look atht e status of plugins (may need to install another plugin)
          However you can see that

          * OWASP Markup Formatter Plugin antisamy-markup-formatter plugin is already installed. Jenkins needs to be restarted for the update to take effect
          * Pipeline workflow-aggregator plugin is already installed. Jenkins needs to be restarted for the update to take effect

          Both of these are incorrect.

          The wizard has requested the same version be installed multiple times.
          You can see this if you go to /pluginManager/installed and version 1.3 is installed - yet you can download to 1.3....

          So
          1) Jenkins should restart if it has installed plugins that require a restart to activate
          2) Jenkins should not try to install the same version of the plugin twice (infact it should not try to install any version of the same plugin twice - do it once and install the latest).

          For slow internet links the multiple isntalls will cause a longer than required setup time.

          New: Run jenkins on windows (java -jar ...) in a clean jenkins home

          select a few plugins (pipeline - and something that depends on OWASP Markup Formatter)

          wait for the plugins to install
          create a new user

          Get told Jenkins is ready to use

          Rejoice

          h3. Expected results

          Jenkins is ready to use with the plugins you installed

          h3. Actual results

          A restart is required :-(

          Go to http://localhost:8080/updateCenter/ and look at the status of plugins (may need to install another plugin)
          However you can see that

          * OWASP Markup Formatter Plugin antisamy-markup-formatter plugin is already installed. Jenkins needs to be restarted for the update to take effect
          * Pipeline workflow-aggregator plugin is already installed. Jenkins needs to be restarted for the update to take effect

          Both of these are incorrect.

          The wizard has requested the same version be installed multiple times.
          You can see this if you go to /pluginManager/installed and version 1.3 is installed - yet you can download to 1.3....

          So
          1) Jenkins should restart if it has installed plugins that require a restart to activate
          2) Jenkins should not try to install the same version of the plugin twice (infact it should not try to install any version of the same plugin twice - do it once and install the latest).

          For slow internet links the multiple isntalls will cause a longer than required setup time.

          Spike Washburn made changes -
          Labels Original: 2.0 2.0-beta community-bee New: 2.0 2.0-beta
          James Nord made changes -
          Attachment New: screenshot-1.png [ 32384 ]
          Keith Zantow made changes -
          Summary Original: 2.0 setup wizard fails to restart Jenkins when a restart is required New: Unbundled plugins / implicit plugin dependencies may be installed multiple times
          Keith Zantow made changes -
          Summary Original: Unbundled plugins / implicit plugin dependencies may be installed multiple times New: Unbundled / implicit plugin dependencies may be installed multiple times
          Keith Zantow made changes -
          Assignee New: Keith Zantow [ kzantow ]
          Keith Zantow made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Keith Zantow made changes -
          Remote Link New: This issue links to "PR 2258 (Web Link)" [ 14199 ]

            kzantow Keith Zantow
            teilo James Nord
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: