Package | Description |
---|---|
org.jvnet.hudson.test |
Test harness for Jenkins and its plugins.
|
Modifier and Type | Method and Description |
---|---|
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.omitPlugins(String... plugins)
Omit some plugins in the test classpath.
|
RealJenkinsRule |
RealJenkinsRule.withHost(String host)
Sets a custom host name for the Jenkins root URL.
|
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. |
Copyright © 2004–2022. All rights reserved.