Package hudson.slaves

Class NodeProvisionerRule

java.lang.Object
org.jvnet.hudson.test.JenkinsRule
hudson.slaves.NodeProvisionerRule
All Implemented Interfaces:
hudson.ExtensionPoint, hudson.model.Action, hudson.model.ModelObject, hudson.model.RootAction, org.junit.rules.MethodRule, org.junit.rules.TestRule

@Deprecated public class NodeProvisionerRule extends JenkinsRule
Deprecated.
Overrides LoadStatistics.CLOCK, NodeProvisioner.NodeProvisionerInvoker.INITIALDELAY, and/or NodeProvisioner.NodeProvisionerInvoker.RECURRENCEPERIOD during the test.
  • Constructor Details

    • NodeProvisionerRule

      public NodeProvisionerRule(int clock, int initialDelay, int recurrencePeriod)
      Deprecated.
  • Method Details

    • before

      public void before() throws Throwable
      Deprecated.
      Description copied from class: JenkinsRule
      Override to set up your specific external resource.
      Overrides:
      before in class JenkinsRule
      Throws:
      Throwable - if setup fails (which will disable after
    • after

      public void after() throws Exception
      Deprecated.
      Description copied from class: JenkinsRule
      Override to tear down your specific external resource.
      Overrides:
      after in class JenkinsRule
      Throws:
      Exception