Class PreBuildScriptTrigger

    • Constructor Detail

      • PreBuildScriptTrigger

        @DataBoundConstructor
        public PreBuildScriptTrigger​(List<RecipientProvider> recipientProviders,
                                     String recipientList,
                                     String replyTo,
                                     String subject,
                                     String body,
                                     String attachmentsPattern,
                                     int attachBuildLog,
                                     String contentType,
                                     org.jenkinsci.plugins.scriptsecurity.sandbox.groovy.SecureGroovyScript secureTriggerScript)
      • PreBuildScriptTrigger

        @Deprecated
        public PreBuildScriptTrigger​(boolean sendToList,
                                     boolean sendToDevs,
                                     boolean sendToRequester,
                                     boolean sendToCulprits,
                                     String recipientList,
                                     String replyTo,
                                     String subject,
                                     String body,
                                     String attachmentsPattern,
                                     int attachBuildLog,
                                     String contentType,
                                     String triggerScript)
        Deprecated.
    • Method Detail

      • isPreBuild

        public boolean isPreBuild()
        Description copied from class: EmailTrigger
        Should this trigger run before the build? Defaults to false.
        Specified by:
        isPreBuild in class AbstractScriptTrigger
        Returns:
        true if the trigger should be checked before the build.