Class MailStep

java.lang.Object
hudson.model.AbstractDescribableImpl<org.jenkinsci.plugins.workflow.steps.Step>
org.jenkinsci.plugins.workflow.steps.Step
org.jenkinsci.plugins.workflow.steps.MailStep
All Implemented Interfaces:
ExtensionPoint, Describable<org.jenkinsci.plugins.workflow.steps.Step>

public class MailStep extends org.jenkinsci.plugins.workflow.steps.Step
Simple email sender step.
Author:
tom.fennelly@gmail.com
  • Field Details

    • subject

      public final String subject
    • body

      public final String body
    • from

      @DataBoundSetter public String from
    • to

      @DataBoundSetter public String to
    • cc

      @DataBoundSetter public String cc
    • bcc

      @DataBoundSetter public String bcc
    • replyTo

      @DataBoundSetter public String replyTo
  • Constructor Details

    • MailStep

      @DataBoundConstructor public MailStep(@NonNull String subject, @NonNull String body)
  • Method Details

    • setCharset

      @DataBoundSetter public void setCharset(String charset)
    • getCharset

      public String getCharset()
    • setMimeType

      @DataBoundSetter public void setMimeType(String mimeType)
    • getMimeType

      public String getMimeType()
    • start

      public org.jenkinsci.plugins.workflow.steps.StepExecution start(org.jenkinsci.plugins.workflow.steps.StepContext context) throws Exception
      Specified by:
      start in class org.jenkinsci.plugins.workflow.steps.Step
      Throws:
      Exception