Class HideFromViewStep

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

public class HideFromViewStep extends org.jenkinsci.plugins.workflow.steps.Step implements Serializable
Pipeline step that hides enclosed steps from view.

Usage:

 hideFromView {
     echo "This step will be hidden"
 }
 

This step takes no parameters - its presence in the flow graph serves as a marker that the enclosed steps should be treated as hidden by the Pipeline Graph View plugin.

See Also:
  • Constructor Details

    • HideFromViewStep

      @DataBoundConstructor public HideFromViewStep()
  • Method Details

    • 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