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 ResultResult.ABORTEDThe build was manually aborted.static final ResultResult.FAILUREThe build had a fatal error.static final ResultResult.NOT_BUILTThe module was not built.protected ResultRun.resultThe build result.static final ResultResult.SUCCESSThe build had no errors.static final ResultResult.UNSTABLEThe build had some errors but they were not fatal.Methods in hudson.model that return ResultModifier and TypeMethodDescriptionExecutor.abortResult()Combines twoResults and returns the worse one.static ResultCombines twoResults and returns the worse one.protected abstract ResultAbstractBuild.AbstractBuildExecution.doRun(BuildListener listener) The portion of a build that is specific to a subclass ofAbstractBuildgoes here.protected ResultBuild.BuildExecution.doRun(BuildListener listener) static ResultResult.fromString(String s) Run.getResult()AbstractBuild.AbstractBuildExecution.run(BuildListener listener) abstract ResultRun.RunExecution.run(BuildListener listener) Performs the main build and returns the status code.Methods in hudson.model with parameters of type ResultModifier and TypeMethodDescriptionCombines twoResults and returns the worse one.static ResultCombines twoResults and returns the worse one.default voidCalled when a build is finished.Run.getBuildsOverThreshold(int numberOfBuilds, Result threshold) Returns the lastnumberOfBuildsbuilds with a build result ≥threshold.Job.getLastBuildsOverThreshold(int numberOfBuilds, Result threshold) Returns the lastnumberOfBuildsbuilds with a build result ≥thresholdRun.getPreviousBuildsOverThreshold(int numberOfBuilds, Result threshold) Returns the lastnumberOfBuildsbuilds with a build result ≥threshold.voidInterrupt the execution, but instead of marking the build as aborted, mark it as specified result.voidExecutor.interrupt(Result result, CauseOfInterruption... causes) Interrupt the execution.booleanResult.isBetterOrEqualTo(Result that) booleanResult.isBetterThan(Result that) booleanResult.isWorseOrEqualTo(Result that) booleanResult.isWorseThan(Result that) voidSets 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.model
Methods in jenkins.model that return Result -
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)