|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecthudson.model.AbstractModelObject
hudson.model.Actionable
hudson.model.Run<P,R>
hudson.model.AbstractBuild<P,B>
hudson.model.Build<P,B>
public abstract class Build<P extends BaseBuildableProject<P,B>,B extends Build<P,B>>
A build of a Project.
Roughly speaking, a Build goes through
the following stages:
BuildStep.prebuild(AbstractBuild, BuildListener) invoked to indicate
that the build is starting
BuildWrapper.setUp(AbstractBuild, Launcher, BuildListener) is
invoked. This is normally to prepare an environment for the build.
BuildStepCompatibilityLayer.perform(AbstractBuild, Launcher, BuildListener) is
invoked. This is where things that are useful to users happen, like calling
Ant, Make, etc.
BuildStepCompatibilityLayer.perform(AbstractBuild, Launcher, BuildListener) is
invoked. This is normally to record the output from the build, such as test
results.
BuildStepCompatibilityLayer.perform(AbstractBuild, Launcher, BuildListener) is
invoked. This is normally to send out notifications, based on the results
determined so far. And beyond that, the build is considered complete, and from then on
Build object is there to keep the record of what happened in this
build.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class hudson.model.AbstractBuild |
|---|
AbstractBuild.DependencyChange |
| Nested classes/interfaces inherited from class hudson.model.Run |
|---|
Run.Artifact, Run.ArtifactList, Run.KeepLogBuildBadge, Run.RedirectUp, Run.RunnerAbortedException, Run.Summary |
| Nested classes/interfaces inherited from interface hudson.ExtensionPoint |
|---|
ExtensionPoint.LegacyInstancesAreScopedToHudson |
| Field Summary |
|---|
| Fields inherited from class hudson.model.Run |
|---|
ARTIFACTS, DELETE, FEED_ADAPTER, FEED_ADAPTER_LATEST, LIST_CUTOFF, number, ORDER_BY_DATE, PERMISSIONS, TREE_CUTOFF, UPDATE, XSTREAM |
| Fields inherited from interface hudson.model.Saveable |
|---|
NOOP |
| Method Summary | |
|---|---|
void |
run()
Invoked by Executor to performs a build. |
| Methods inherited from class hudson.model.Actionable |
|---|
getAction, getAction, getActions, getActions |
| Methods inherited from class hudson.model.AbstractModelObject |
|---|
getSearch, getSearchIndex, getSearchName |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface hudson.model.Queue.Executable |
|---|
getEstimatedDuration, getParent, toString |
| Method Detail |
|---|
public void run()
AbstractBuildExecutor to performs a build.
run in interface Queue.Executablerun in interface Runnablerun in class AbstractBuild<P extends BaseBuildableProject<P,B>,B extends Build<P,B>>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||