Branch: refs/heads/master
  Home:   https://github.com/jenkinsci/jenkins
  Commit: 7b1dfd8d838b9938346bafa1c3fde363cd5e8b9a
      
https://github.com/jenkinsci/jenkins/commit/7b1dfd8d838b9938346bafa1c3fde363cd5e8b9a
  Author: Vincent Latombe <vinc...@latombe.net>
  Date:   2023-08-29 (Tue, 29 Aug 2023)

  Changed paths:
    M core/src/main/java/jenkins/model/Jenkins.java
    M test/src/test/java/jenkins/model/JenkinsTest.java

  Log Message:
  -----------
  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 <jgl...@cloudbees.com>

* View initialization should happen even when the config file doesn't exist.

* Add a test

---------

Co-authored-by: Jesse Glick <jgl...@cloudbees.com>


-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Commits" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-commits+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-commits/jenkinsci/jenkins/push/refs/heads/master/8365d6-7b1dfd%40github.com.

Reply via email to