public class JenkinsfileRunnerLauncher extends JenkinsEmbedder
contextPath, env, homeLoader, jenkins, localPort, MIME_TYPES, NO_PROPERTIES, recipes, server, tearDowns| Constructor and Description |
|---|
JenkinsfileRunnerLauncher(Bootstrap bootstrap) |
| Modifier and Type | Method and Description |
|---|---|
void |
after()
Skips the clean up.
|
void |
before()
Override to set up your specific external resource.
|
protected org.eclipse.jetty.security.LoginService |
configureUserRealm()
Supply a dummy
LoginService that allows nobody. |
protected javax.servlet.ServletContext |
createWebServer()
Sets up Jetty without any actual TCP port serving HTTP.
|
int |
launch()
Launch the Jenkins instance
No time out and no output message
|
void |
recipe() |
configureUpdateCenter, createLocalLauncher, createTaskListener, createUniqueProjectName, getDisplayName, getIconFileName, getInstance, getPluginManager, getURL, getUrlName, getWebAppRoot, interactiveBreak, isSomethingHappening, newHudson, pause, setPluginManager, setQuietPeriod, waitUntilNoActivity, waitUntilNoActivityUpTo, with, with, withExistingHome, withNewHome, withPresetDatapublic JenkinsfileRunnerLauncher(Bootstrap bootstrap)
protected javax.servlet.ServletContext createWebServer()
throws Exception
createWebServer in class JenkinsEmbedderExceptionpublic void recipe()
throws Exception
recipe in class JenkinsEmbedderExceptionprotected org.eclipse.jetty.security.LoginService configureUserRealm()
LoginService that allows nobody.configureUserRealm in class JenkinsEmbedderpublic void before()
throws Throwable
JenkinsEmbedderbefore in class JenkinsEmbedderThrowable - if setup fails (which will disable afterpublic void after()
throws Exception
after in class JenkinsEmbedderExceptionCopyright © 2004–2019. All rights reserved.