Class LogstashSendStep

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

    public class LogstashSendStep
    extends org.jenkinsci.plugins.workflow.steps.Step
    Sends the tail of the log in a single event to a logstash indexer. Pipeline counterpart of the LogstashNotifier.
    • Constructor Detail

      • LogstashSendStep

        @DataBoundConstructor
        public LogstashSendStep​(int maxLines,
                                boolean failBuild)
    • Method Detail

      • getMaxLines

        public int getMaxLines()
      • isFailBuild

        public boolean isFailBuild()
      • 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