Class PipelineStageViewExtractor


  • public class PipelineStageViewExtractor
    extends Object
    • Constructor Detail

      • PipelineStageViewExtractor

        public PipelineStageViewExtractor()
    • Method Detail

      • extractPipelineStages

        public static void extractPipelineStages​(org.jenkinsci.plugins.workflow.job.WorkflowRun workflowRun,
                                                 BuildModel buildModel)
        This method identifies all the stages as mentioned in the pipeline-stage-view plugin.
        Parameters:
        workflowRun - - pipeline run
        buildModel - - the jenkins plugin build model
      • extractConsoleLogs

        public static void extractConsoleLogs​(org.jenkinsci.plugins.workflow.job.WorkflowRun workflowRun)
        This method sends the console logs with source name as the stage/step name to identify the console logs with respect to stage/step of the pipeline.
        Parameters:
        workflowRun - - pipeline run