RealJenkinsRule |
RealJenkinsRule.addPlugins(String... plugins) |
Add some plugins to the test classpath.
|
RealJenkinsRule |
RealJenkinsRule.extraEnv(String key,
String value) |
Set an extra environment variable.
|
RealJenkinsRule |
RealJenkinsRule.includeTestClasspathPlugins(boolean includeTestClasspathPlugins) |
The intended use case for this is to use the plugins bundled into the war withWar(File)
instead of the plugins in the pom.
|
RealJenkinsRule |
RealJenkinsRule.javaOptions(String... options) |
Add some JVM startup options.
|
RealJenkinsRule |
RealJenkinsRule.jenkinsOptions(String... options) |
Add some Jenkins (including Winstone) startup options.
|
RealJenkinsRule |
RealJenkinsRule.omitPlugins(String... plugins) |
Omit some plugins in the test classpath.
|
RealJenkinsRule |
RealJenkinsRule.prepareHomeLazily(boolean prepareHomeLazily) |
Allows JENKINS_HOME initialization to be delayed until startJenkins() is called for the first time.
|
RealJenkinsRule |
RealJenkinsRule.withColor(PrefixedOutputStream.AnsiColor color) |
|
RealJenkinsRule |
RealJenkinsRule.withDebugPort(int debugPort) |
Allows usage of a static debug port instead of a random one.
|
RealJenkinsRule |
RealJenkinsRule.withDebugServer(boolean debugServer) |
Allows to use debug in server mode or client mode.
|
RealJenkinsRule |
RealJenkinsRule.withDebugSuspend(boolean debugSuspend) |
Whether to suspend the controller VM on startup until debugger is connected.
|
RealJenkinsRule |
RealJenkinsRule.withHost(String host) |
Sets a custom host name for the Jenkins root URL.
|
RealJenkinsRule |
RealJenkinsRule.withHttpListenAddress(String httpListenAddress) |
Provides a custom interface to listen to.
|
RealJenkinsRule |
RealJenkinsRule.withJavaHome(String JavaHome) |
Allows to specify a java home, defaults to JAVA_HOME if not used
|
RealJenkinsRule |
RealJenkinsRule.withLogger(Class<?> clazz,
Level level) |
|
RealJenkinsRule |
RealJenkinsRule.withLogger(String logger,
Level level) |
|
RealJenkinsRule |
RealJenkinsRule.withName(String name) |
Sets a name for this instance, which will be prefixed to log messages to simplify debugging.
|
RealJenkinsRule |
RealJenkinsRule.withPackageLogger(Class<?> clazz,
Level level) |
|
RealJenkinsRule |
RealJenkinsRule.withPort(int port) |
Provides a custom fixed port instead of a random one.
|
RealJenkinsRule |
RealJenkinsRule.withTimeout(int timeout) |
Adjusts the test timeout.
|
RealJenkinsRule |
RealJenkinsRule.withWar(File war) |
Sets a custom WAR file to be used by the rule instead of the one in the path or war/target/jenkins.war in case of core.
|