Class RootUrlNotSetMonitor

  • All Implemented Interfaces:
    ExtensionPoint, ModelObject, SearchableModelObject, SearchItem, org.kohsuke.stapler.StaplerProxy

    @Extension
    @Symbol("rootUrlNotSet")
    @Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class)
    public class RootUrlNotSetMonitor
    extends AdministrativeMonitor
    Jenkins URL is required for a lot of operations in both core and plugins. There is a default behavior (infer the URL from the request object), but inaccurate in some scenarios. Normally this root URL is set during SetupWizard phase, this monitor is there to ensure that behavior. Potential exceptions are the dev environment, if someone disable the wizard or the administrator put an empty string on the configuration page.
    Since:
    2.119