Class LoadNinjaBuilder
java.lang.Object
hudson.tasks.BuildStepCompatibilityLayer
hudson.tasks.Builder
com.smartbear.loadninja.plugins.jenkins.LoadNinjaBuilder
- All Implemented Interfaces:
ExtensionPoint,Describable<Builder>,BuildStep,SimpleBuildStep
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classstatic classstatic classNested classes/interfaces inherited from interface hudson.tasks.BuildStep
BuildStep.PublisherListNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudsonNested 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
ConstructorsConstructorDescriptionLoadNinjaBuilder(String apiKey, String scenarioId, LoadNinjaBuilder.OptionalErrorBlock oeb, LoadNinjaBuilder.OptionalDurationBlock odb) -
Method Summary
Modifier and TypeMethodDescriptiondoubleintvoidperform(Run<?, ?> run, FilePath workspace, Launcher launcher, TaskListener listener) Methods inherited from class hudson.tasks.Builder
all, getDescriptor, getRequiredMonitorService, prebuildMethods inherited from class hudson.tasks.BuildStepCompatibilityLayer
getProjectAction, getProjectAction, getProjectActions, perform, perform, prebuildMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface hudson.tasks.BuildStep
getProjectAction, getProjectActions, getRequiredMonitorService, perform, prebuildMethods inherited from interface jenkins.tasks.SimpleBuildStep
perform, perform, requiresWorkspace
-
Constructor Details
-
LoadNinjaBuilder
@DataBoundConstructor public LoadNinjaBuilder(String apiKey, String scenarioId, LoadNinjaBuilder.OptionalErrorBlock oeb, LoadNinjaBuilder.OptionalDurationBlock odb)
-
-
Method Details
-
getApiKey
-
getScenarioId
-
getErrorPassCriteria
public int getErrorPassCriteria() -
getDurationPassCriteria
public double getDurationPassCriteria() -
perform
public void perform(Run<?, ?> run, FilePath workspace, Launcher launcher, TaskListener listener) throws InterruptedException, IOException- Specified by:
performin interfaceSimpleBuildStep- Throws:
InterruptedExceptionIOException
-