Class WXWorkStep

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

public class WXWorkStep extends org.jenkinsci.plugins.workflow.steps.Step
Author:
nekoimi 2024/8/6 23:56
  • Constructor Details

    • WXWorkStep

      @DataBoundConstructor public WXWorkStep(String robot)
  • Method Details

    • setType

      @DataBoundSetter public void setType(String type)
    • setAt

      @DataBoundSetter public void setAt(List<String> at)
    • setAtMe

      @DataBoundSetter public void setAtMe(Boolean atMe)
    • setAtAll

      @DataBoundSetter public void setAtAll(Boolean atAll)
    • setText

      @DataBoundSetter public void setText(List<String> text)
    • setImageUrl

      @DataBoundSetter public void setImageUrl(String imageUrl)
    • send

      public void send(Run<?,?> run, FilePath workspace, EnvVars envVars, TaskListener listener)

      发送机器人消息

      Parameters:
      run -
      workspace -
      envVars -
      listener -
    • 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
    • getDescriptor

      public org.jenkinsci.plugins.workflow.steps.StepDescriptor getDescriptor()
      Specified by:
      getDescriptor in interface Describable<org.jenkinsci.plugins.workflow.steps.Step>
      Overrides:
      getDescriptor in class org.jenkinsci.plugins.workflow.steps.Step