mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-08 17:46:03 +00:00
This is the right phase to fill in all the descriptors
This commit is contained in:
1 parent
216073a54c
commit
0c54ef47ea
2 files changed
+8
-4
No files matched your search
@@ -344,6 +344,8 @@ public abstract class PluginManager extends AbstractModelObject {
|
||||
p.resolvePluginDependencies();
|
||||
strategy.load(p);
|
||||
|
||||
Jenkins.getInstance().refreshExtensions();
|
||||
|
||||
p.getPlugin().postInitialize();
|
||||
} catch (Exception e) {
|
||||
failedPlugins.add(new FailedPlugin(p.getShortName(), e));
|
||||
@@ -361,7 +363,6 @@ public abstract class PluginManager extends AbstractModelObject {
|
||||
}
|
||||
}.discoverTasks(r));
|
||||
new InitReactorRunner().run(r);
|
||||
Jenkins.getInstance().refreshExtensions();
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user