Class JenkinsRecipe.Runner<T extends Annotation>

java.lang.Object
org.jvnet.hudson.test.JenkinsRecipe.Runner<T>
Type Parameters:
T - The recipe annotation associated with this runner.
Direct Known Subclasses:
LocalData.RuleRunnerImpl, PresetData.RuleRunnerImpl, WithPlugin.RuleRunnerImpl, WithPluginManager.RuleRunnerImpl
Enclosing class:
JenkinsRecipe

public abstract static class JenkinsRecipe.Runner<T extends Annotation> extends Object
The code that implements the recipe semantics.
  • Constructor Details

    • Runner

      public Runner()
  • Method Details

    • setup

      public void setup(JenkinsRule jenkinsRule, T recipe) throws Exception
      Called during TestCase.setUp() to prepare the test environment.
      Throws:
      Exception
    • decorateHome

      public void decorateHome(JenkinsRule jenkinsRule, File home) throws Exception
      Called right before Jenkins(java.io.File, jakarta.servlet.ServletContext) is invoked to decorate the hudson home directory.
      Throws:
      Exception
    • tearDown

      public void tearDown(JenkinsRule jenkinsRule, T recipe) throws Exception
      Called during TestCase.tearDown() to shut down the test environment.
      Throws:
      Exception