Class ExpressionConditional

java.lang.Object
hudson.model.AbstractDescribableImpl<T>
org.jenkinsci.plugins.pipeline.modeldefinition.withscript.WithScriptDescribable<S>
org.jenkinsci.plugins.pipeline.modeldefinition.when.DeclarativeStageConditional<ExpressionConditional>
org.jenkinsci.plugins.pipeline.modeldefinition.when.impl.ExpressionConditional
All Implemented Interfaces:
ExtensionPoint, Describable<ExpressionConditional>, Serializable

public class ExpressionConditional extends org.jenkinsci.plugins.pipeline.modeldefinition.when.DeclarativeStageConditional<ExpressionConditional>
Stage condition based on the current branch. i.e. the env var BRANCH_NAME. As populated by BranchNameContributor
See Also:
  • Constructor Details

    • ExpressionConditional

      @Deprecated public ExpressionConditional(String block)
      Deprecated.
    • ExpressionConditional

      @DataBoundConstructor public ExpressionConditional()
  • Method Details

    • getBlock

      public String getBlock()
    • getClosureBlock

      public groovy.lang.Closure getClosureBlock()
    • setClosureBlock

      public void setClosureBlock(groovy.lang.Closure closureBlock)