Class ChangeLogStrategy

java.lang.Object
org.jenkinsci.plugins.pipeline.modeldefinition.when.ChangeLogStrategy
All Implemented Interfaces:
ExtensionPoint

public class ChangeLogStrategy extends Object implements ExtensionPoint
Extension point for what strategy to use when examining the changelog. In particular if a given SCMHead is a change request that suggest all builds should be examined.
  • Constructor Details

    • ChangeLogStrategy

      public ChangeLogStrategy()
  • Method Details

    • shouldExamineAllBuilds

      protected boolean shouldExamineAllBuilds(@NonNull jenkins.scm.api.SCMHead head)
      Parameters:
      head - the head in question
      Returns:
      true if all builds changelogs should be examined.
    • isExamineAllBuilds

      public static boolean isExamineAllBuilds(@NonNull jenkins.scm.api.SCMHead head)