Uses of Class
hudson.model.Result
-
Packages that use Result Package Description hudson.model Core object model that are bound to URLs via stapler, rooted atJenkins.hudson.tasks hudson.util Other miscellaneous utility codejenkins.triggers -
-
Uses of Result in hudson.model
Fields in hudson.model declared as Result Modifier and Type Field Description static ResultResult. ABORTEDThe build was manually aborted.static ResultResult. FAILUREThe build had a fatal error.static ResultResult. NOT_BUILTThe module was not built.protected ResultRun. resultThe build result.static ResultResult. SUCCESSThe build had no errors.static ResultResult. UNSTABLEThe build had some errors but they were not fatal.Methods in hudson.model that return Result Modifier and Type Method Description ResultExecutor. abortResult()ResultResult. combine(Result that)Combines twoResults and returns the worse one.static ResultResult. combine(Result r1, Result r2)Combines 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)ResultRun. getResult()Returns the build result.ResultAbstractBuild.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 Result Modifier and Type Method Description ResultResult. combine(Result that)Combines twoResults and returns the worse one.static ResultResult. combine(Result r1, Result r2)Combines twoResults and returns the worse one.default voidBuildListener. finished(Result result)Called when a build is finished.protected List<RunT>Run. getBuildsOverThreshold(int numberOfBuilds, Result threshold)Returns the lastnumberOfBuildsbuilds with a build result ≥threshold.List<RunT>Job. getLastBuildsOverThreshold(int numberOfBuilds, Result threshold)Returns the lastnumberOfBuildsbuilds with a build result ≥thresholdList<RunT>Run. getPreviousBuildsOverThreshold(int numberOfBuilds, Result threshold)Returns the lastnumberOfBuildsbuilds with a build result ≥threshold.voidExecutor. interrupt(Result result)Interrupt 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)voidRun. setResult(Result r)Sets theRun.getResult()of this build.Constructor parameters in hudson.model with type arguments of type Result Constructor Description OptionHandlerImpl(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 Result Modifier and Type Method Description ResultBuildTrigger. getThreshold()Constructors in hudson.tasks with parameters of type Result Constructor Description BuildTrigger(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 Result Modifier and Type Method Description RunList<R>RunList. overThresholdOnly(Result threshold)Filter the list to builds above threshold. -
Uses of Result in jenkins.triggers
Methods in jenkins.triggers that return Result Modifier and Type Method Description ResultReverseBuildTrigger. getThreshold()Methods in jenkins.triggers with parameters of type Result Modifier and Type Method Description voidReverseBuildTrigger. setThreshold(Result r)Constructors in jenkins.triggers with parameters of type Result Constructor Description ReverseBuildTrigger(String upstreamProjects, Result threshold)Deprecated.
-