mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-16 05:22:22 +00:00
set the root URL
This commit is contained in:
1 parent
ee9e3ffe79
commit
d5710650d7
1 file changed
+1
@@ -304,6 +304,7 @@ public abstract class HudsonTestCase extends TestCase implements RootAction {
|
||||
hudson.servletContext.setAttribute("app",hudson);
|
||||
hudson.servletContext.setAttribute("version","?");
|
||||
WebAppMain.installExpressionFactory(new ServletContextEvent(hudson.servletContext));
|
||||
Mailer.descriptor().setHudsonUrl(getURL().toExternalForm());
|
||||
|
||||
// set a default JDK to be the one that the harness is using.
|
||||
hudson.getJDKs().add(new JDK("default",System.getProperty("java.home")));
|
||||
|
||||
Reference in new issue
Block a user