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

Download update data immediately when installing a new tool installer plugin

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

      I've seen it noted in various places recently (mailing list, IRC, personal experience) that the situation after installing a tool installer plugin is suboptimal.

      The JSON file containing the installation information for that tool is only downloaded periodically (daily?) along with all other tool installer data.

      Ideally, users should not have to wait up to 24 hours (or use a workaround: Manage Plugins > Advanced > Check Now) before they can use these plugins.

      So, whenever a DownloadService.Downloadable is loaded into Jenkins, it should fetch the corresponding JSON file from updates.jenkins-ci.org, if necessary.

          [JENKINS-27694] Download update data immediately when installing a new tool installer plugin

          Christopher Orr created issue -
          Daniel Beck made changes -
          Assignee New: Daniel Beck [ danielbeck ]
          Jeffrey Damick made changes -
          Link New: This issue is blocking JENKINS-28186 [ JENKINS-28186 ]
          Daniel Beck made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Daniel Beck made changes -
          Remote Link New: This issue links to "PR 1754 (Web Link)" [ 12962 ]

          Code changed in jenkins
          User: Daniel Beck
          Path:
          core/src/main/java/hudson/model/DownloadService.java
          http://jenkins-ci.org/commit/jenkins/63186180e0b17c486302cb4ac2c8add47096b637
          Log:
          [FIX JENKINS-27694] Update dynamically loaded plugins' Downloadables

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Daniel Beck Path: core/src/main/java/hudson/model/DownloadService.java http://jenkins-ci.org/commit/jenkins/63186180e0b17c486302cb4ac2c8add47096b637 Log: [FIX JENKINS-27694] Update dynamically loaded plugins' Downloadables
          SCM/JIRA link daemon made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: In Progress [ 3 ] New: Resolved [ 5 ]

          Code changed in jenkins
          User: Daniel Beck
          Path:
          core/src/main/java/hudson/model/DownloadService.java
          http://jenkins-ci.org/commit/jenkins/038edc1be0108cef96c4965f97d2ee5829ff038d
          Log:
          Merge pull request #1754 from daniel-beck/JENKINS-27694

          [FIX JENKINS-27694] Update dynamically loaded plugins' Downloadables

          Compare: https://github.com/jenkinsci/jenkins/compare/01bf18b83fda...038edc1be010

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Daniel Beck Path: core/src/main/java/hudson/model/DownloadService.java http://jenkins-ci.org/commit/jenkins/038edc1be0108cef96c4965f97d2ee5829ff038d Log: Merge pull request #1754 from daniel-beck/ JENKINS-27694 [FIX JENKINS-27694] Update dynamically loaded plugins' Downloadables Compare: https://github.com/jenkinsci/jenkins/compare/01bf18b83fda...038edc1be010

          dogfood added a comment -

          Integrated in jenkins_main_trunk #4204
          [FIX JENKINS-27694] Update dynamically loaded plugins' Downloadables (Revision 63186180e0b17c486302cb4ac2c8add47096b637)

          Result = SUCCESS
          daniel-beck : 63186180e0b17c486302cb4ac2c8add47096b637
          Files :

          • core/src/main/java/hudson/model/DownloadService.java

          dogfood added a comment - Integrated in jenkins_main_trunk #4204 [FIX JENKINS-27694] Update dynamically loaded plugins' Downloadables (Revision 63186180e0b17c486302cb4ac2c8add47096b637) Result = SUCCESS daniel-beck : 63186180e0b17c486302cb4ac2c8add47096b637 Files : core/src/main/java/hudson/model/DownloadService.java

          Julien HENRY added a comment -

          I'm using Jenkins 1.625.1 and the problem is still not fixed. After installing SonarQube plugin I still have to manually click "Check now" to have SonarQube Runner installation list updated.

          Julien HENRY added a comment - I'm using Jenkins 1.625.1 and the problem is still not fixed. After installing SonarQube plugin I still have to manually click "Check now" to have SonarQube Runner installation list updated.

            danielbeck Daniel Beck
            orrc Christopher Orr
            Votes:
            2 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: