Skip to content

Commit

Permalink
[JENKINS-34748] - Fix handling of dependency trees in PluginManager::…
Browse files Browse the repository at this point in the history
…addDependencies() (#2334)
  • Loading branch information
oleg-nenashev committed May 13, 2016
1 parent cc26370 commit ebb84da
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion core/src/main/java/hudson/PluginManager.java
Expand Up @@ -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);
}
}
}
Expand Down

0 comments on commit ebb84da

Please sign in to comment.