Package com.loadfocus.jenkins
Class LoadPublisher
java.lang.Object
hudson.tasks.BuildStepCompatibilityLayer
hudson.tasks.Publisher
hudson.tasks.Notifier
com.loadfocus.jenkins.LoadPublisher
- All Implemented Interfaces:
ExtensionPoint,Describable<Publisher>,BuildStep,SimpleBuildStep
Runs a LoadFocus cloud load test and marks the build from its results.
Freestyle: post-build action. Pipeline:
LoadFocusStep (loadfocusLoadTest).-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class hudson.tasks.Publisher
Publisher.DescriptorExtensionListImplNested 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
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetP95Ms()getP99Ms()Deprecated.intbooleanbooleanisTagRun()booleanvoidperform(Run<?, ?> run, EnvVars env, TaskListener listener) protected ObjectBuilds saved before timeoutMinutes existed load it as 0.booleanvoidvoidsetErrorFailedThreshold(Integer value) voidsetErrorRatePct(Double errorRatePct) voidsetErrorUnstableThreshold(Integer value) voidvoidvoidvoidsetReleaseTag(String releaseTag) voidvoidvoidsetShareReport(boolean shareReport) voidsetTagRun(boolean tagRun) voidvoidsetTimeoutMinutes(int timeoutMinutes) voidsetUseVerdict(boolean useVerdict) Methods inherited from class hudson.tasks.Publisher
all, getProjectAction, needsToRunAfterFinalized, prebuildMethods inherited from class hudson.tasks.BuildStepCompatibilityLayer
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, perform, prebuildMethods inherited from interface jenkins.tasks.SimpleBuildStep
perform, perform
-
Constructor Details
-
LoadPublisher
-
-
Method Details
-
requiresWorkspace
public boolean requiresWorkspace()- Specified by:
requiresWorkspacein interfaceSimpleBuildStep
-
perform
public void perform(@NonNull Run<?, ?> run, @NonNull EnvVars env, @NonNull TaskListener listener) throws InterruptedException, IOException- Specified by:
performin interfaceSimpleBuildStep- Throws:
InterruptedExceptionIOException
-
getRequiredMonitorService
- Specified by:
getRequiredMonitorServicein interfaceBuildStep
-
getApiKey
-
setApiKey
-
getTestId
-
setTestId
-
getTestName
Deprecated. -
getErrorFailedThreshold
-
setErrorFailedThreshold
-
getErrorUnstableThreshold
-
setErrorUnstableThreshold
-
getResponseTimeFailedThreshold
-
setResponseTimeFailedThreshold
-
getResponseTimeUnstableThreshold
-
setResponseTimeUnstableThreshold
-
isUseVerdict
public boolean isUseVerdict() -
setUseVerdict
@DataBoundSetter public void setUseVerdict(boolean useVerdict) -
getTimeoutMinutes
public int getTimeoutMinutes() -
setTimeoutMinutes
@DataBoundSetter public void setTimeoutMinutes(int timeoutMinutes) -
isTagRun
public boolean isTagRun() -
setTagRun
@DataBoundSetter public void setTagRun(boolean tagRun) -
getReleaseTag
-
setReleaseTag
-
getP95Ms
-
setP95Ms
-
getP99Ms
-
setP99Ms
-
getErrorRatePct
-
setErrorRatePct
-
getMinRps
-
setMinRps
-
readResolve
Builds saved before timeoutMinutes existed load it as 0. -
getDescriptor
- Specified by:
getDescriptorin interfaceDescribable<Publisher>- Overrides:
getDescriptorin classNotifier
-