Class EggplantRunnerBuilder

java.lang.Object
hudson.tasks.BuildStepCompatibilityLayer
hudson.tasks.Builder
io.jenkins.plugins.eggplant.EggplantRunnerBuilder
All Implemented Interfaces:
ExtensionPoint, Describable<Builder>, BuildStep, SimpleBuildStep

public class EggplantRunnerBuilder extends Builder implements SimpleBuildStep
  • Constructor Details

    • EggplantRunnerBuilder

      @DataBoundConstructor public EggplantRunnerBuilder()
  • Method Details

    • getServerURL

      public String getServerURL()
    • getTestConfigId

      public String getTestConfigId()
    • getTestConfigName

      public String getTestConfigName()
    • getModelName

      public String getModelName()
    • getSuiteName

      public String getSuiteName()
    • getClientId

      public String getClientId()
    • getClientSecret

      public Secret getClientSecret()
    • getLogLevel

      public LogLevel getLogLevel()
    • getCACertPath

      public String getCACertPath()
    • getTestResultPath

      public String getTestResultPath()
    • getRequestTimeout

      public String getRequestTimeout()
    • getRequestRetries

      public String getRequestRetries()
    • getBackoffFactor

      public String getBackoffFactor()
    • getEggplantRunnerPath

      public String getEggplantRunnerPath()
    • getParameters

      public String getParameters()
    • getTestConfig

      public EggplantRunnerBuilder.TestConfig getTestConfig()
    • setServerURL

      @DataBoundSetter public void setServerURL(String serverURL)
    • setTestConfigId

      @DataBoundSetter public void setTestConfigId(String testConfigId)
    • setTestConfigName

      @DataBoundSetter public void setTestConfigName(String testConfigName)
    • setModelName

      @DataBoundSetter public void setModelName(String modelName)
    • setSuiteName

      @DataBoundSetter public void setSuiteName(String suiteName)
    • setClientId

      @DataBoundSetter public void setClientId(String clientId)
    • setClientSecret

      @DataBoundSetter public void setClientSecret(Secret clientSecret)
    • setLogLevel

      @DataBoundSetter public void setLogLevel(LogLevel logLevel)
    • setCACertPath

      @DataBoundSetter public void setCACertPath(String CACertPath)
    • setTestResultPath

      @DataBoundSetter public void setTestResultPath(String testResultPath)
    • setRequestTimeout

      @DataBoundSetter public void setRequestTimeout(String requestTimeout)
    • setRequestRetries

      @DataBoundSetter public void setRequestRetries(String requestRetries)
    • setBackoffFactor

      @DataBoundSetter public void setBackoffFactor(String backoffFactor)
    • setDryRun

      @DataBoundSetter public void setDryRun(boolean dryRun)
    • setEggplantRunnerPath

      @DataBoundSetter public void setEggplantRunnerPath(String eggplantRunnerPath)
    • setTestConfig

      @DataBoundSetter public void setTestConfig(EggplantRunnerBuilder.TestConfig testConfig)
    • setParameters

      @DataBoundSetter public void setParameters(String parameters)
    • perform

      public void perform(Run<?,?> run, FilePath workspace, EnvVars env, Launcher launcher, TaskListener listener) throws InterruptedException, IOException
      Specified by:
      perform in interface SimpleBuildStep
      Throws:
      InterruptedException
      IOException
    • getBackwardCompatibilityCommands

      public void getBackwardCompatibilityCommands() throws BuilderException
      Translate pipeline syntax value for testConfigId, testConfigName, modelName and suiteName into testConfig instance.
      Throws:
      BuilderException
    • getMandatoryCommandList

      public List<String> getMandatoryCommandList(EnvVars env)
    • getOptionalCommandList

      public List<String> getOptionalCommandList(OperatingSystem os)