mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-04 15:45:52 +00:00
Cyclic dependency check not needed.
This commit is contained in:
1 parent
a9be16e25e
commit
40806bb290
1 file changed
+2
-1
@@ -335,7 +335,8 @@ public abstract class PluginManager extends AbstractModelObject {
|
||||
if (getPlugin(p.getShortName())!=null)
|
||||
throw new IllegalArgumentException("Dynamic reloading isn't possible");
|
||||
|
||||
// TODO: check cyclic dependency
|
||||
// there's no need to do cyclic dependency check, because we are deploying one at a time,
|
||||
// so existing plugins can't be depending on this newly deployed one.
|
||||
|
||||
plugins.add(p);
|
||||
activePlugins.add(p);
|
||||
|
||||
Reference in new issue
Block a user