Class SkipInitialBuildOnFirstBranchIndexing

java.lang.Object
hudson.model.AbstractDescribableImpl<jenkins.branch.BranchBuildStrategy>
jenkins.branch.BranchBuildStrategy
jenkins.branch.buildstrategies.basic.SkipInitialBuildOnFirstBranchIndexing
All Implemented Interfaces:
ExtensionPoint, Describable<jenkins.branch.BranchBuildStrategy>

@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) @Extension public class SkipInitialBuildOnFirstBranchIndexing extends jenkins.branch.BranchBuildStrategy
  • Constructor Details

    • SkipInitialBuildOnFirstBranchIndexing

      @DataBoundConstructor public SkipInitialBuildOnFirstBranchIndexing()
  • Method Details

    • isAutomaticBuild

      @Deprecated public boolean isAutomaticBuild(@NonNull jenkins.scm.api.SCMSource source, @NonNull jenkins.scm.api.SCMHead head, @NonNull jenkins.scm.api.SCMRevision currRevision, @CheckForNull jenkins.scm.api.SCMRevision prevRevision, TaskListener taskListener)
      Deprecated.
      Overrides:
      isAutomaticBuild in class jenkins.branch.BranchBuildStrategy
    • isAutomaticBuild

      public boolean isAutomaticBuild(@NonNull jenkins.scm.api.SCMSource source, @NonNull jenkins.scm.api.SCMHead head, @NonNull jenkins.scm.api.SCMRevision currRevision, @CheckForNull jenkins.scm.api.SCMRevision lastBuiltRevision, @CheckForNull jenkins.scm.api.SCMRevision lastSeenRevision, @NonNull TaskListener taskListener)
      Specified by:
      isAutomaticBuild in class jenkins.branch.BranchBuildStrategy