Class IssueCommentTrigger

  • All Implemented Interfaces:
    ExtensionPoint, Describable<Trigger<?>>

    public class IssueCommentTrigger
    extends Trigger<org.jenkinsci.plugins.workflow.job.WorkflowJob>
    An IssueCommentTrigger, to be used from pipeline scripts only. This trigger will not show up on a jobs configuration page.
    Author:
    Aaron Whiteside
    See Also:
    PipelineTriggersJobProperty
    • Constructor Detail

      • IssueCommentTrigger

        @DataBoundConstructor
        public IssueCommentTrigger​(@Nonnull
                                   String commentPattern)
    • Method Detail

      • start

        public void start​(org.jenkinsci.plugins.workflow.job.WorkflowJob project,
                          boolean newInstance)
        Overrides:
        start in class Trigger<org.jenkinsci.plugins.workflow.job.WorkflowJob>
      • stop

        public void stop()
        Overrides:
        stop in class Trigger<org.jenkinsci.plugins.workflow.job.WorkflowJob>
      • getCommentPattern

        public String getCommentPattern()