public class NodeProvisionerRule extends JenkinsRule
LoadStatistics.CLOCK, NodeProvisioner.NodeProvisionerInvoker.INITIALDELAY, and/or NodeProvisioner.NodeProvisionerInvoker.RECURRENCEPERIOD during the test.JenkinsRule.BreakException, JenkinsRule.DummySecurityRealm, JenkinsRule.JSONWebResponse, JenkinsRule.TestBuildWrapper, JenkinsRule.WebClientcomputerConnectorTester, contextPath, env, homeLoader, hudson, jenkins, jsDebugger, localPort, MIME_TYPES, NO_PROPERTIES, recipes, server, SLAVE_DEBUG_PORT, tearDowns, testDescription, timeout, useLocalPluginManager| Constructor and Description |
|---|
NodeProvisionerRule(int clock,
int initialDelay,
int recurrencePeriod) |
| Modifier and Type | Method and Description |
|---|---|
void |
after()
Override to tear down your specific external resource.
|
void |
before()
Override to set up your specific external resource.
|
_configureJenkinsForTest, _configureUpdateCenter, _configureUserRealm, _createWebServer, _stopJenkins, apply, apply, assertAllImageLoadSuccessfully, assertBuildStatus, assertBuildStatus, assertBuildStatusSuccess, assertBuildStatusSuccess, assertEqualBeans, assertEqualDataBoundBeans, assertEqualDataBoundBeans, assertGoodStatus, assertHelpExists, assertLogContains, assertLogNotContains, assertStringContains, assertStringContains, assertXPath, assertXPath, assertXPathResultsContainText, assertXPathValue, assertXPathValueContains, buildAndAssertStatus, buildAndAssertSuccess, buildAndAssertSuccess, configRoundtrip, configRoundtrip, configRoundtrip, configRoundtrip, configRoundtrip, configRoundtrip, configRoundtrip, configRoundtrip, configureUpdateCenter, configureUserRealm, createComputerLauncher, createDummySecurityRealm, createFolder, createFreeStyleProject, createFreeStyleProject, createLocalLauncher, createOnlineSlave, createOnlineSlave, createOnlineSlave, createPretendSlave, createProject, createProject, createSlave, createSlave, createSlave, createSlave, createSlave, createSlave, createSlave, createTaskListener, createTmpDir, createUniqueProjectName, createWebClient, createWebServer, disconnectSlave, executeOnServer, findDataBoundConstructor, findPreviousInputElement, get, getButtonByCaption, getDisplayName, getIconFileName, getInstance, getJSON, getLog, getPluginManager, getTestDescription, getURL, getUrlName, getWebAppRoot, interactiveBreak, isGoodHttpStatus, isSomethingHappening, last, newHudson, pause, postJSON, recipe, recipeLoadCurrentPlugin, search, setPluginManager, setQuietPeriod, showAgentLogs, showAgentLogs, submit, submit, waitForCompletion, waitForMessage, waitOnline, waitUntilNoActivity, waitUntilNoActivityUpTo, with, with, withExistingHome, withNewHome, withPresetDatapublic NodeProvisionerRule(int clock,
int initialDelay,
int recurrencePeriod)
public void before()
throws Throwable
JenkinsRulebefore in class JenkinsRuleThrowable - if setup fails (which will disable afterpublic void after()
throws Exception
JenkinsRuleafter in class JenkinsRuleExceptionCopyright © 2004–2019. All rights reserved.