Core does not currently download installer metadata when installing a plugin with extension points, so there's nothing you're doing wrong.
https://issues.jenkins-ci.org/browse/JENKINS-27694 On 02.07.2015, at 15:32, Jeffrey Damick <jeffreydam...@gmail.com> wrote: > > In trying to address this issue: > https://issues.jenkins-ci.org/browse/JENKINS-28186 I'm seeing that when the > plugin installs but the updateSite doesn't pull down the latest metadata that > lists the installers available for the plugin.. I've tried a few others > including the gradle plugin which also exhibit this problem.. > > It just does this on installation: > > -- > Jul 01, 2015 10:19:39 AM hudson.PluginManager dynamicLoad > > INFO: Plugin packer:1.3-SNAPSHOT (private-07/01/2015 10:11-rvl994) > dynamically installed > > Jul 01, 2015 10:19:39 AM hudson.model.UpdateCenter$DownloadJob run > > INFO: Installation successful: packer > > Jul 01, 2015 10:19:41 AM hudson.model.UpdateCenter doSafeRestart > > INFO: Scheduling Jenkins reboot > > Jul 01, 2015 10:19:44 AM jenkins.model.Jenkins$23 run > > > INFO: Restart in 10 seconds > > .....restart.... > > INFO: Loaded all jobs > > > Jul 01, 2015 10:19:59 AM hudson.model.AsyncPeriodicWork$1 run > > INFO: Started Download metadata > > Jul 01, 2015 10:19:59 AM hudson.model.AsyncPeriodicWork$1 run > > > INFO: Finished Download metadata. 2 ms > > -- > > > But if you click on the "Check Now" in the Plugins -> Advanced page, then it > pulls the metadata: > > ---- > Jun 30, 2015 5:12:45 PM hudson.model.UpdateSite updateData > > INFO: Obtained the latest update center data file for UpdateSource default > > Jun 30, 2015 5:12:45 PM hudson.model.DownloadService$Downloadable load > > INFO: Obtained the updated data file for hudson.tasks.Maven.MavenInstaller > > Jun 30, 2015 5:12:46 PM hudson.model.DownloadService$Downloadable load > > INFO: Obtained the updated data file for hudson.tasks.Ant.AntInstaller > > Jun 30, 2015 5:12:46 PM hudson.model.DownloadService$Downloadable load > > INFO: Obtained the updated data file for > biz.neustar.jenkins.plugins.packer.PackerInstaller > > Jun 30, 2015 5:12:47 PM hudson.model.DownloadService$Downloadable load > > INFO: Obtained the updated data file for hudson.tools.JDKInstaller > > ---- > > > > Is there something my plugin isn't doing correctly that is causing Jenkins > not to pull the installer metadata? > > > > > > Thanks, > > -jeff > > > > > -- > You received this message because you are subscribed to the Google Groups > "Jenkins Developers" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to jenkinsci-dev+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jenkinsci-dev/5c34bd03-5bb9-4738-b014-2be117fc48c2%40googlegroups.com. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "Jenkins Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-dev+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/AB5ABF59-E1B0-4E50-9803-128515488AE7%40beckweb.net. For more options, visit https://groups.google.com/d/optout.