Uses of Class
hudson.model.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
Modifier 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.Modifier 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()
AbstractBuild.AbstractBuildExecution.run
(BuildListener listener) abstract Result
Run.RunExecution.run
(BuildListener listener) Performs the main build and returns the status code.Modifier 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.ModifierConstructorDescriptionOptionHandlerImpl
(org.kohsuke.args4j.CmdLineParser parser, org.kohsuke.args4j.OptionDef option, org.kohsuke.args4j.spi.Setter<? super Result> setter) -
Uses of Result in hudson.tasks
ModifierConstructorDescriptionBuildTrigger
(String childProjects, Result threshold) BuildTrigger
(Collection<? extends AbstractProject> childProjects, Result threshold) BuildTrigger
(List<AbstractProject> childProjects, Result threshold) -
Uses of Result in hudson.util
Modifier and TypeMethodDescriptionRunList.overThresholdOnly
(Result threshold) Filter the list to builds above threshold. -
Uses of Result in jenkins.model
-
Uses of Result in jenkins.triggers
ModifierConstructorDescriptionReverseBuildTrigger
(String upstreamProjects, Result threshold) Deprecated.
ReverseBuildTrigger(String)
andReverseBuildTrigger.setThreshold(Result)