Skip to content
Permalink
Browse files
[JENKINS-34748] - Fix handling of dependency trees in PluginManager::…
…addDependencies() (#2334)
  • Loading branch information
oleg-nenashev committed May 13, 2016
1 parent cc26370 commit ebb84da617a989d9d1bff8660d9903d89ca3ea41
Showing with 2 additions and 1 deletion.
  1. +2 −1 core/src/main/java/hudson/PluginManager.java
@@ -558,9 +558,10 @@ protected static void addDependencies(URL hpiResUrl, String fromPath, Set<URL> d
}

if (dependencyURL != null) {
dependencySet.add(dependencyURL);
// And transitive deps...
addDependencies(dependencyURL, fromPath, dependencySet);
// And then add the current plugin
dependencySet.add(dependencyURL);
}
}
}

0 comments on commit ebb84da

Please sign in to comment.