private void useRootUrl(Map<String, String> errors, @CheckForNull String rootUrl){ LOGGER.log(Level.FINE, "Root URL set during SetupWizard to {0}", new Object[]{ rootUrl }); JenkinsLocationConfiguration.getOrDie().setUrl(rootUrl); }
public void initializeState() { // Skip this state if a boot script already configured the root URL // in case we add more fields in this page, this should be adapted if (StringUtils.isNotBlank(JenkinsLocationConfiguration.getOrDie().getUrl())) { InstallUtil.proceedToNextStateFrom(this); } } }