diff --git a/core/src/main/java/jenkins/model/Jenkins.java b/core/src/main/java/jenkins/model/Jenkins.java index 6e56858395b1..322638b6241d 100644 --- a/core/src/main/java/jenkins/model/Jenkins.java +++ b/core/src/main/java/jenkins/model/Jenkins.java @@ -3388,6 +3388,7 @@ public void load() throws IOException { primaryView = v.getViewName(); } primaryView = AllView.migrateLegacyPrimaryAllViewLocalizedName(views, primaryView); + clouds.setOwner(this); configLoaded = true; try { checkRawBuildsDir(buildsDir); @@ -3497,8 +3498,6 @@ public void run(Reactor session) throws Exception { } else { nodes.load(); } - - clouds.setOwner(Jenkins.this); } });