Class CleanBeforeCheckoutTrait

java.lang.Object
hudson.model.AbstractDescribableImpl<T>
jenkins.scm.api.trait.SCMTrait<jenkins.scm.api.trait.SCMSourceTrait>
jenkins.scm.api.trait.SCMSourceTrait
jenkins.plugins.git.traits.GitSCMExtensionTrait<CleanBeforeCheckout>
jenkins.plugins.git.traits.CleanBeforeCheckoutTrait
All Implemented Interfaces:
ExtensionPoint, Describable<jenkins.scm.api.trait.SCMSourceTrait>

public class CleanBeforeCheckoutTrait extends GitSCMExtensionTrait<CleanBeforeCheckout>
Exposes CleanBeforeCheckout as a SCMSourceTrait.
Since:
3.4.0
  • Constructor Details

    • CleanBeforeCheckoutTrait

      @Deprecated public CleanBeforeCheckoutTrait()
      Deprecated.
      Use constructor that accepts extension instead.
    • CleanBeforeCheckoutTrait

      @DataBoundConstructor public CleanBeforeCheckoutTrait(@CheckForNull CleanBeforeCheckout extension)
      Stapler constructor.
      Parameters:
      extension - the option to clean subdirectories which contain git repositories.