Class RegressionTrigger

java.lang.Object
hudson.plugins.emailext.plugins.EmailTrigger
hudson.plugins.emailext.plugins.trigger.RegressionTrigger
All Implemented Interfaces:
ExtensionPoint, Describable<EmailTrigger>

public class RegressionTrigger extends EmailTrigger
  • Field Details

  • Constructor Details

    • RegressionTrigger

      @DataBoundConstructor public RegressionTrigger(List<RecipientProvider> recipientProviders, String recipientList, String replyTo, String subject, String body, String attachmentsPattern, int attachBuildLog, String contentType)
    • RegressionTrigger

      @Deprecated public RegressionTrigger(boolean sendToList, boolean sendToDevs, boolean sendToRequester, boolean sendToCulprits, String recipientList, String replyTo, String subject, String body, String attachmentsPattern, int attachBuildLog, String contentType)
      Deprecated.
  • Method Details

    • trigger

      public boolean trigger(AbstractBuild<?,?> build, TaskListener listener)
      Description copied from class: EmailTrigger
      Implementors of this method need to return true if the conditions to trigger an email have been met.
      Specified by:
      trigger in class EmailTrigger
      Parameters:
      build - The Build object after the project has been built
      listener - Used for logging to the build log
      Returns:
      true if the conditions have been met to trigger a build of this type
    • shouldBypassThrottling

      public boolean shouldBypassThrottling()
      Description copied from class: EmailTrigger
      Should this trigger bypass the email throttling? Defaults to false. Critical triggers like build failures override this to true.
      Overrides:
      shouldBypassThrottling in class EmailTrigger
      Returns:
      true if the trigger should bypass the email throttling.