Class ScriptTrigger

    • Constructor Detail

      • ScriptTrigger

        @DataBoundConstructor
        public ScriptTrigger​(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)
      • ScriptTrigger

        @Deprecated
        public ScriptTrigger​(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.