Class KeepEnvStep

java.lang.Object
hudson.model.AbstractDescribableImpl<org.jenkinsci.plugins.workflow.steps.Step>
org.jenkinsci.plugins.workflow.steps.Step
io.jenkins.plugins.pipeline_keepenv_step.KeepEnvStep
All Implemented Interfaces:
ExtensionPoint, Describable<org.jenkinsci.plugins.workflow.steps.Step>

public class KeepEnvStep extends org.jenkinsci.plugins.workflow.steps.Step
All the variables not provided in the parameter will be filtered out for the enclosed block
  • Constructor Details

    • KeepEnvStep

      @DataBoundConstructor public KeepEnvStep(List<String> variables)
  • Method Details

    • getVariables

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