提交 41674eac 编写于 作者: K Kohsuke Kawaguchi

allow an update center to depend on plugins from other update centers

上级 1e7bf894
......@@ -549,7 +549,7 @@ public class UpdateSite {
List<Plugin> deps = new ArrayList<Plugin>();
for(Map.Entry<String,String> e : dependencies.entrySet()) {
Plugin depPlugin = getPlugin(e.getKey());
Plugin depPlugin = Hudson.getInstance().getUpdateCenter().getPlugin(e.getKey());
VersionNumber requiredVersion = new VersionNumber(e.getValue());
// Is the plugin installed already? If not, add it.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册