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.WebClient
computerConnectorTester, 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, _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, configRoundtrip, configureUpdateCenter, configureUserRealm, createApiToken, createComputerLauncher, createDummySecurityRealm, createFolder, createFreeStyleProject, createFreeStyleProject, createLocalLauncher, createOnlineSlave, createOnlineSlave, createOnlineSlave, createPretendSlave, createProject, createProject, createSlave, createSlave, createSlave, createSlave, createSlave, createSlave, createSlave, createTaskListener, createTmpDir, createUniqueProjectName, createWebClient, createWebServer, 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, withPresetData, writeReplace
public NodeProvisionerRule(int clock, int initialDelay, int recurrencePeriod)
public void before() throws Throwable
JenkinsRule
before
in class JenkinsRule
Throwable
- if setup fails (which will disable after
public void after() throws Exception
JenkinsRule
after
in class JenkinsRule
Exception
Copyright © 2004–2022. All rights reserved.