Class SetCustomBuildPropertyStep

java.lang.Object
hudson.model.AbstractDescribableImpl<org.jenkinsci.plugins.workflow.steps.Step>
org.jenkinsci.plugins.workflow.steps.Step
org.jenkinsci.plugins.custombuildproperties.SetCustomBuildPropertyStep
All Implemented Interfaces:
ExtensionPoint, Describable<org.jenkinsci.plugins.workflow.steps.Step>

public final class SetCustomBuildPropertyStep extends org.jenkinsci.plugins.workflow.steps.Step
  • Constructor Details

    • SetCustomBuildPropertyStep

      @DataBoundConstructor public SetCustomBuildPropertyStep(String key, Object value)
  • Method Details

    • runLogic

      protected static void runLogic(String key, Object value, boolean onlySetIfAbsent, Run<?,?> run) throws Exception
      Throws:
      Exception
    • getKey

      public String getKey()
    • getValue

      public Object getValue()
    • isOnlySetIfAbsent

      public boolean isOnlySetIfAbsent()
    • setOnlySetIfAbsent

      @DataBoundSetter public void setOnlySetIfAbsent(boolean onlySetIfAbsent)
    • 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