java.lang.Object
hudson.model.AbstractDescribableImpl<org.jenkinsci.plugins.workflow.steps.Step>
org.jenkinsci.plugins.workflow.steps.Step
org.jenkinsci.plugins.pipeline.utility.steps.csv.WriteCSVStep
All Implemented Interfaces:
ExtensionPoint, Describable<org.jenkinsci.plugins.workflow.steps.Step>

public class WriteCSVStep extends org.jenkinsci.plugins.workflow.steps.Step
Writes a List of String Arrays to file in the current working directory.
Author:
Stuart Rowe
  • Constructor Details

    • WriteCSVStep

      @DataBoundConstructor public WriteCSVStep(String file, Iterable<?> records)
  • Method Details

    • getFile

      public String getFile()
    • getRecords

      public Iterable<?> getRecords()
    • getFormat

      public org.apache.commons.csv.CSVFormat getFormat()
    • setFormat

      @DataBoundSetter public void setFormat(org.apache.commons.csv.CSVFormat format)
    • 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