I can do this sort of thing (improvements are welcome!):
plugin = 'github'
instance = Jenkins.getInstance()
pm = instance.getPluginManager()
uc = instance.getUpdateCenter()

plugin = uc.getPlugin(plugin_name)

But would like to be able to specify the version of plugin, e.g.

Any ideas?

Thanks a lot,

P.S. - SHould I have sent this to the jenkins-users mailing list?

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 
For more options, visit https://groups.google.com/d/optout.

Reply via email to