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

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

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • core
    • None

      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.

          [JENKINS-32886] Tool installer data should be downloaded when a new plugin is installed

          danielbeck, 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.

          Andres Rodriguez added a comment - danielbeck , 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.

          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)

          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.

          Daniel Beck added a comment -

          andresrc Thanks a lot!

          Daniel Beck added a comment - andresrc Thanks a lot!

          Oleg Nenashev added a comment -

          Released as Jenkins-2.4

          Oleg Nenashev added a comment - Released as Jenkins-2.4

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

              Created:
              Updated:
              Resolved: