Interface HudsonHomeLoader

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Interface Description
      static class  HudsonHomeLoader.CopyExisting
      Allocates a new directory by copying from an existing directory, or unzipping from a zip file.
      static class  HudsonHomeLoader.Local
      Allocates a new directory by copying from a test resource
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static HudsonHomeLoader NEW
      Allocates a new empty directory, meaning this will emulate the fresh Hudson installation.
    • Field Detail

      • NEW

        static final HudsonHomeLoader NEW
        Allocates a new empty directory, meaning this will emulate the fresh Hudson installation.
    • Method Detail

      • allocate

        File allocate()
               throws Exception
        Returns a directory to be used as JENKINS_HOME
        Throws:
        Exception - to cause a test to fail.