JENKINS-33936 JENKINS-33937 - add links to wiki for plugins during setup

wizard
This commit is contained in:
kzantow committed 2016-04-13 10:55:40 -04:00
1 parent b17e04c9dc
commit 9622bbedbb
4 files changed
+10 -2

No files matched your search

@@ -1006,6 +1006,7 @@ public abstract class PluginManager extends AbstractModelObject implements OnMas
pluginInfo.put("bundled", plugin.isBundled);
pluginInfo.put("deleted", plugin.isDeleted());
pluginInfo.put("downgradable", plugin.isDowngradable());
pluginInfo.put("website", plugin.getUrl());
List<Dependency> dependencies = plugin.getDependencies();
if (dependencies != null && !dependencies.isEmpty()) {
Map<String, String> dependencyMap = new HashMap<>();
@@ -1030,6 +1031,7 @@ public abstract class PluginManager extends AbstractModelObject implements OnMas
pluginInfo.put("excerpt", plugin.excerpt);
pluginInfo.put("site", site.getId());
pluginInfo.put("dependencies", plugin.dependencies);
pluginInfo.put("website", plugin.wiki);
response.add(pluginInfo);
}
}