Package hudson.tasks

Class Mailer

    • Field Detail

      • LOGGER

        protected static final Logger LOGGER
      • recipients

        public String recipients
        Whitespace-separated list of e-mail addresses that represent recipients.
      • dontNotifyEveryUnstableBuild

        public boolean dontNotifyEveryUnstableBuild
        If true, only the first unstable build will be reported.
      • sendToIndividuals

        public boolean sendToIndividuals
        If true, individuals will receive e-mails regarding who broke the build.
      • debug

        @Deprecated
        public static boolean debug
        Deprecated.
        This hack may be removed in future versions
        Debug probe point to be activated by the scripting console.
    • Constructor Detail

      • Mailer

        @Deprecated
        public Mailer()
        Deprecated.
        Default Constructor. This is left for backward compatibility.
      • Mailer

        @DataBoundConstructor
        public Mailer​(String recipients,
                      boolean notifyEveryUnstableBuild,
                      boolean sendToIndividuals)
        Parameters:
        recipients - one or more recipients with separators
        notifyEveryUnstableBuild - inverted for historical reasons.
        sendToIndividuals - if true mails are sent to individual committers