Uses of Class
hudson.model.Result
Packages that use Result
Package
Description
Core object model that are bound to URLs via stapler, rooted at
Jenkins
.Other miscellaneous utility code
-
Uses of Result in hudson.model
Fields in hudson.model declared as ResultModifier and TypeFieldDescriptionstatic final Result
Result.ABORTED
The build was manually aborted.static final Result
Result.FAILURE
The build had a fatal error.static final Result
Result.NOT_BUILT
The module was not built.protected Result
Run.result
The build result.static final Result
Result.SUCCESS
The build had no errors.static final Result
Result.UNSTABLE
The build had some errors but they were not fatal.Methods in hudson.model that return ResultModifier and TypeMethodDescriptionExecutor.abortResult()
Combines twoResult
s and returns the worse one.static Result
Combines twoResult
s and returns the worse one.protected abstract Result
AbstractBuild.AbstractBuildExecution.doRun
(BuildListener listener) The portion of a build that is specific to a subclass ofAbstractBuild
goes here.protected Result
Build.BuildExecution.doRun
(BuildListener listener) static Result
Result.fromString
(String s) Run.getResult()
Returns the build result.AbstractBuild.AbstractBuildExecution.run
(BuildListener listener) abstract Result
Run.RunExecution.run
(BuildListener listener) Performs the main build and returns the status code.Methods in hudson.model with parameters of type ResultModifier and TypeMethodDescriptionCombines twoResult
s and returns the worse one.static Result
Combines twoResult
s and returns the worse one.default void
Called when a build is finished.Run.getBuildsOverThreshold
(int numberOfBuilds, Result threshold) Returns the lastnumberOfBuilds
builds with a build result ≥threshold
.Job.getLastBuildsOverThreshold
(int numberOfBuilds, Result threshold) Returns the lastnumberOfBuilds
builds with a build result ≥threshold
Run.getPreviousBuildsOverThreshold
(int numberOfBuilds, Result threshold) Returns the lastnumberOfBuilds
builds with a build result ≥threshold
.void
Interrupt the execution, but instead of marking the build as aborted, mark it as specified result.void
Executor.interrupt
(Result result, CauseOfInterruption... causes) Interrupt the execution.boolean
Result.isBetterOrEqualTo
(Result that) boolean
Result.isBetterThan
(Result that) boolean
Result.isWorseOrEqualTo
(Result that) boolean
Result.isWorseThan
(Result that) void
Sets theRun.getResult()
of this build.Constructor parameters in hudson.model with type arguments of type ResultModifierConstructorDescriptionOptionHandlerImpl
(org.kohsuke.args4j.CmdLineParser parser, org.kohsuke.args4j.OptionDef option, org.kohsuke.args4j.spi.Setter<? super Result> setter) -
Uses of Result in hudson.tasks
Methods in hudson.tasks that return ResultConstructors in hudson.tasks with parameters of type ResultModifierConstructorDescriptionBuildTrigger
(String childProjects, Result threshold) BuildTrigger
(Collection<? extends AbstractProject> childProjects, Result threshold) BuildTrigger
(List<AbstractProject> childProjects, Result threshold) -
Uses of Result in hudson.util
Methods in hudson.util with parameters of type ResultModifier and TypeMethodDescriptionRunList.overThresholdOnly
(Result threshold) Filter the list to builds above threshold. -
Uses of Result in jenkins.triggers
Methods in jenkins.triggers that return ResultMethods in jenkins.triggers with parameters of type ResultConstructors in jenkins.triggers with parameters of type ResultModifierConstructorDescriptionReverseBuildTrigger
(String upstreamProjects, Result threshold) Deprecated.
ReverseBuildTrigger(String)
andReverseBuildTrigger.setThreshold(Result)