Re: How does /monitoring skip starting splash page?

2023-02-08 Thread 'Jesse Glick' via Jenkins Developers
On Wed, Feb 8, 2023 at 8:55 AM 'Daniel Beck' via Jenkins Developers < jenkinsci-dev@googlegroups.com> wrote: > PluginImpl#start adds… > Yes, as I wrote, but please bear in mind that `Plugin.start` is deprecated—use `@Initializer` instead. -- You received this message because you are subscribed

Re: How does /monitoring skip starting splash page?

2023-02-08 Thread 'Daniel Beck' via Jenkins Developers
PluginImpl#start adds HudsonMonitoringFilter to the PluginServletFilter list, which should be happening before PLUGINS_STARTED, so it doesn't wait for items to load etc. On Wed, Feb 8, 2023 at 2:47 PM Michael Carter wrote: > "jenkins is starting up" is the screen I'm talking about. >

Re: How does /monitoring skip starting splash page?

2023-02-08 Thread Michael Carter
"jenkins is starting up" is the screen I'm talking about. https://plugins.jenkins.io/monitoring/ is available before the init level of COMPLETED is reached so you can troubleshoot things as jenkins is starting up. Analyzed their code and couldn't quite figure out what allows them to do it.

Re: How does /monitoring skip starting splash page?

2023-02-08 Thread 'Jesse Glick' via Jenkins Developers
It may be possible by calling `PluginServletFilter` in an `@Initializer`, as filters will be consulted before the request is even routed to Stapler (where the `HudsonIsLoading` object is installed until startup completes and it is replaced with the `Jenkins` singleton). Remember that, among other