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 Result
Result. ABORTED
The build was manually aborted.static Result
Result. FAILURE
The build had a fatal error.static Result
Result. NOT_BUILT
The module was not built.protected Result
Run. result
The build result.static Result
Result. SUCCESS
The build had no errors.static Result
Result. UNSTABLE
The build had some errors but they were not fatal.Methods in hudson.model that return Result Modifier and Type Method Description Result
Executor. abortResult()
Result
Result. combine(Result that)
Combines twoResult
s and returns the worse one.static Result
Result. combine(Result r1, Result r2)
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)
Result
Run. getResult()
Returns the build result.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 Result Modifier and Type Method Description Result
Result. combine(Result that)
Combines twoResult
s and returns the worse one.static Result
Result. combine(Result r1, Result r2)
Combines twoResult
s and returns the worse one.default void
BuildListener. finished(Result result)
Called when a build is finished.protected List<RunT>
Run. getBuildsOverThreshold(int numberOfBuilds, Result threshold)
Returns the lastnumberOfBuilds
builds with a build result ≥threshold
.List<RunT>
Job. getLastBuildsOverThreshold(int numberOfBuilds, Result threshold)
Returns the lastnumberOfBuilds
builds with a build result ≥threshold
List<RunT>
Run. getPreviousBuildsOverThreshold(int numberOfBuilds, Result threshold)
Returns the lastnumberOfBuilds
builds with a build result ≥threshold
.void
Executor. interrupt(Result result)
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
Run. 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 Result
BuildTrigger. 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 Result
ReverseBuildTrigger. getThreshold()
Methods in jenkins.triggers with parameters of type Result Modifier and Type Method Description void
ReverseBuildTrigger. setThreshold(Result r)
Constructors in jenkins.triggers with parameters of type Result Constructor Description ReverseBuildTrigger(String upstreamProjects, Result threshold)
Deprecated.
-