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

Tool installer data should be downloaded when a new plugin is installed

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Component/s: core
    • Labels:
      None
    • Similar Issues:

      Description

      When a tool installer plugin is installed after a Jenkins restart — either due to a user clicking "Download now and install after restart" in the plugin manager, or because they manually placed the .jpi file in the plugins directory — the tool installer JSON file is currently not downloaded.

      Therefore the user must wait up to 24 hours for the tool installer data to be downloaded by Jenkins, or manually navigate to Manage Plugins > Advanced > Check Now.

      Ideally Jenkins would download missing tool installer data as soon as possible after such a plugin is loaded into Jenkins.

        Attachments

          Issue Links

            Activity

            Hide
            andresrc Andres Rodriguez added a comment -

            Daniel Beck, stumped into this while looking at JENKINS-29916, and I had seen a possible fix. Saw it was not in progress so filed the PR and took it.

            Show
            andresrc Andres Rodriguez added a comment - Daniel Beck , stumped into this while looking at JENKINS-29916 , and I had seen a possible fix. Saw it was not in progress so filed the PR and took it.
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Andres Rodriguez
            Path:
            core/src/main/java/jenkins/model/DownloadSettings.java
            http://jenkins-ci.org/commit/jenkins/5762eb9fc0a882c8b6a9cb7e1ef9586eadcac463
            Log:
            JENKINS-32886 Pick up missing downloads on restart (#2345)

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Andres Rodriguez Path: core/src/main/java/jenkins/model/DownloadSettings.java http://jenkins-ci.org/commit/jenkins/5762eb9fc0a882c8b6a9cb7e1ef9586eadcac463 Log: JENKINS-32886 Pick up missing downloads on restart (#2345) JENKINS-32886 Pick up missing downloads JENKINS-32886 Improve error handling.
            Hide
            danielbeck Daniel Beck added a comment -

            Andres Rodriguez Thanks a lot!

            Show
            danielbeck Daniel Beck added a comment - Andres Rodriguez Thanks a lot!
            Hide
            oleg_nenashev Oleg Nenashev added a comment -

            Released as Jenkins-2.4

            Show
            oleg_nenashev Oleg Nenashev added a comment - Released as Jenkins-2.4

              People

              Assignee:
              andresrc Andres Rodriguez
              Reporter:
              orrc Christopher Orr
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: