Package io.jenkins.plugins.eggplant
Class EggplantRunnerBuilder
java.lang.Object
hudson.tasks.BuildStepCompatibilityLayer
hudson.tasks.Builder
io.jenkins.plugins.eggplant.EggplantRunnerBuilder
- All Implemented Interfaces:
ExtensionPoint
,Describable<Builder>
,BuildStep
,SimpleBuildStep
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
static class
static class
static class
static class
Nested classes/interfaces inherited from interface hudson.tasks.BuildStep
BuildStep.PublisherList
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
Nested classes/interfaces inherited from interface jenkins.tasks.SimpleBuildStep
SimpleBuildStep.LastBuildAction, SimpleBuildStep.LastBuildActionFactory
-
Field Summary
Fields inherited from interface hudson.tasks.BuildStep
BUILDERS, PUBLISHERS
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Translate pipeline syntax value for testConfigId, testConfigName, modelName and suiteName into testConfig instance.void
void
setBackoffFactor
(String backoffFactor) void
setCACertPath
(String CACertPath) void
setClientId
(String clientId) void
setClientSecret
(Secret clientSecret) void
setDryRun
(boolean dryRun) void
setEggplantRunnerPath
(String eggplantRunnerPath) void
setLogLevel
(LogLevel logLevel) void
setModelName
(String modelName) void
setParameters
(String parameters) void
setRequestRetries
(String requestRetries) void
setRequestTimeout
(String requestTimeout) void
setServerURL
(String serverURL) void
setSuiteName
(String suiteName) void
setTestConfig
(EggplantRunnerBuilder.TestConfig testConfig) void
setTestConfigId
(String testConfigId) void
setTestConfigName
(String testConfigName) void
setTestResultPath
(String testResultPath) Methods inherited from class hudson.tasks.Builder
all, getDescriptor, getRequiredMonitorService, prebuild
Methods inherited from class hudson.tasks.BuildStepCompatibilityLayer
getProjectAction, getProjectAction, getProjectActions, perform, perform, prebuild
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface hudson.tasks.BuildStep
getProjectAction, getProjectActions, getRequiredMonitorService, perform, prebuild
Methods inherited from interface jenkins.tasks.SimpleBuildStep
perform, perform, requiresWorkspace
-
Constructor Details
-
EggplantRunnerBuilder
@DataBoundConstructor public EggplantRunnerBuilder()
-
-
Method Details
-
getServerURL
-
getTestConfigId
-
getTestConfigName
-
getModelName
-
getSuiteName
-
getClientId
-
getClientSecret
-
getLogLevel
-
getCACertPath
-
getTestResultPath
-
getRequestTimeout
-
getRequestRetries
-
getBackoffFactor
-
getEggplantRunnerPath
-
getParameters
-
getTestConfig
-
setServerURL
-
setTestConfigId
-
setTestConfigName
-
setModelName
-
setSuiteName
-
setClientId
-
setClientSecret
-
setLogLevel
-
setCACertPath
-
setTestResultPath
-
setRequestTimeout
-
setRequestRetries
-
setBackoffFactor
-
setDryRun
@DataBoundSetter public void setDryRun(boolean dryRun) -
setEggplantRunnerPath
-
setTestConfig
-
setParameters
-
perform
public void perform(Run<?, ?> run, FilePath workspace, EnvVars env, Launcher launcher, TaskListener listener) throws InterruptedException, IOException- Specified by:
perform
in interfaceSimpleBuildStep
- Throws:
InterruptedException
IOException
-
getBackwardCompatibilityCommands
Translate pipeline syntax value for testConfigId, testConfigName, modelName and suiteName into testConfig instance.- Throws:
BuilderException
-
getMandatoryCommandList
-
getOptionalCommandList
-