plugin installer metadata not pulled

43 views
Skip to first unread message

Jeffrey Damick

unread,
Jul 2, 2015, 9:32:29 AM7/2/15
to jenkin...@googlegroups.com

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


Daniel Beck

unread,
Jul 2, 2015, 9:37:12 AM7/2/15
to jenkin...@googlegroups.com
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
> --
> 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-de...@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.

Jeffrey Damick

unread,
Jul 2, 2015, 9:42:20 AM7/2/15
to jenkin...@googlegroups.com, m...@beckweb.net
Thanks this is very helpful, is there any way to force the download from my plugin?  I've tried a couple different methods that didnt seem to work..
Reply all
Reply to author
Forward
0 new messages