-
-
Notifications
You must be signed in to change notification settings - Fork 9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Initialize default view earlier in the init process. (#8413)
* Initialize default view earlier in the init process. Perform the default view initialization next to loading the configuration from disk. This is more consistent as the primary view and views are cleared just before loading from disk, which leads to a temporary inconsistent state while Jenkins initializes. * Update core/src/main/java/jenkins/model/Jenkins.java Co-authored-by: Jesse Glick <jglick@cloudbees.com> * View initialization should happen even when the config file doesn't exist. * Add a test --------- Co-authored-by: Jesse Glick <jglick@cloudbees.com>
- Loading branch information
Showing
2 changed files
with
42 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters