Package | Description |
---|---|
hudson.cli |
Server-side CLI commands for Hudson.
|
hudson.model |
Core object model that are bound to URLs via stapler, rooted at Hudson.
|
hudson.tasks | |
hudson.util |
Other miscellaneous utility code
|
jenkins.triggers | |
jenkins.util |
Modifier and Type | Field and Description |
---|---|
Result |
SetBuildResultCommand.result |
Modifier and Type | Field and 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.
|
Modifier and Type | Method and Description |
---|---|
Result |
Executor.abortResult() |
Result |
Result.combine(Result that)
Combines two
Result 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 of
AbstractBuild
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.
|
Modifier and Type | Method and Description |
---|---|
Result |
Result.combine(Result that)
Combines two
Result s and returns the worse one. |
void |
StreamBuildListener.finished(Result result) |
void |
BuildListener.finished(Result result)
Called when a build is finished.
|
List<RunT> |
Job.getLastBuildsOverThreshold(int numberOfBuilds,
Result threshold)
Returns the last 'numberOfBuilds' builds with a build result >= 'threshold'
|
List<RunT> |
Run.getPreviousBuildsOverThreshold(int numberOfBuilds,
Result threshold)
Returns the last 'numberOfBuilds' 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 the
Run.getResult() of this build. |
Constructor and Description |
---|
OptionHandlerImpl(org.kohsuke.args4j.CmdLineParser parser,
org.kohsuke.args4j.OptionDef option,
org.kohsuke.args4j.spi.Setter<? super Result> setter) |
Modifier and Type | Method and Description |
---|---|
Result |
BuildTrigger.getThreshold() |
Constructor and Description |
---|
BuildTrigger(Collection<? extends AbstractProject> childProjects,
Result threshold) |
BuildTrigger(List<AbstractProject> childProjects,
Result threshold) |
BuildTrigger(String childProjects,
Result threshold) |
Modifier and Type | Method and Description |
---|---|
RunList<R> |
RunList.overThresholdOnly(Result threshold)
Filter the list to builds above threshold.
|
Modifier and Type | Method and Description |
---|---|
Result |
ReverseBuildTrigger.getThreshold() |
Constructor and Description |
---|
ReverseBuildTrigger(String upstreamProjects,
Result threshold) |
Modifier and Type | Method and Description |
---|---|
void |
BuildListenerAdapter.finished(Result result) |
Copyright © 2017. All rights reserved.