Class CommentStep

  • All Implemented Interfaces:
    ExtensionPoint, Describable<org.jenkinsci.plugins.workflow.steps.Step>

    public class CommentStep
    extends org.jenkinsci.plugins.workflow.steps.Step
    Simple add comment step.
    Author:
    jan zajic
    • Field Detail

      • issueKey

        public final String issueKey
      • body

        public final String body
    • Constructor Detail

      • CommentStep

        @DataBoundConstructor
        public CommentStep​(@NonNull
                           String issueKey,
                           @NonNull
                           String body)
    • Method Detail

      • getIssueKey

        public String getIssueKey()
      • getBody

        public String getBody()
      • 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