On Saturday, October 15, 2016 at 2:55:43 PM UTC-4, Daniel Beck wrote: > > > > On 15.10.2016, at 20:47, Daniel Beck <[email protected] <javascript:>> > wrote: > > > > As the update center JSON tells you, its groupId is not > org.jenkins-ci.plugins. > > > > > https://repo.jenkins-ci.org/releases/com/sonyericsson/hudson/plugins/rebuild/rebuild/ > > > Missed the newest response, sorry about that. > > > > On 14.10.2016, at 22:12, Maciej Wiczynski <[email protected] > <javascript:>> wrote: > > > > is there an easy way to find the group for all the plugins that don't > use 'org.jenkins-ci.plugins'? I think I can look in > https://updates.jenkins-ci.org/current/update-center.json and find the > group for each plugin. If this isn't correct way to go about it I would > appreciate tips on what I should be doing. > > Extracting the group from the 'gav' elements is probably the best > (automated) approach. Otherwise, repo.jenkins-ci.org has a simple search > interface, look for the artifactId and version and it'll show you the full > path. > > The problem with the former, of course, is when plugins change groupId, > which can happen occasionally (so a specific version may actually not be > present in the groupId used for the newest version of the plugin). > > It's not clear to me what kind of problem is solved here. Why not just > download specific plugin versions from the well-known URLs on the update > site? It's linked from every plugin wiki page⦠> > Thanks Daniel. I was just following the code in Jason's example. If there is way to download plugins differently then I'd be glad to use that method. I was originally using the chef jenkins cookbook which has a resource to download plugins via url( see https://github.com/chef-cookbooks/jenkins/blob/master/libraries/plugin.rb). I wanted to try a different method than the cookbook to see if I could get better control over plugin version. If you have any suggestions/pointers to get me going in direction of using urls I'd appreciate it. I may end up going back to the jenkins cookbook if this proves to be too much trouble. -Maciej
-- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/23c9a3e2-96c7-41a4-b942-a6326cf55c5a%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
