launcher, listener| Modifier | Constructor and Description |
|---|---|
protected |
BuildExecution() |
| Modifier and Type | Method and Description |
|---|---|
void |
cleanUp(BuildListener listener)
Performs final clean up action.
|
protected Result |
doRun(BuildListener listener)
The portion of a build that is specific to a subclass of
AbstractBuild
goes here. |
void |
post2(BuildListener listener) |
createLauncher, decideWorkspace, defaultCheckout, getCurrentNode, getLauncher, getListener, perform, performAllBuildStep, performAllBuildStep, performAllBuildSteps, performAllBuildSteps, post, preBuild, preBuild, preBuild, rungetAttributes, getBuild, getProjectprotected Result doRun(@Nonnull BuildListener listener) throws Exception
AbstractBuild.AbstractBuildExecutionAbstractBuild
goes here.doRun in class AbstractBuild.AbstractBuildExecutionExceptionpublic void post2(@Nonnull BuildListener listener) throws IOException, InterruptedException
post2 in class AbstractBuild.AbstractBuildExecutionIOExceptionInterruptedExceptionAbstractBuild.AbstractBuildExecution.post(BuildListener)public void cleanUp(@Nonnull BuildListener listener) throws Exception
Run.RunExecution
This method is called after Run.RunExecution.post(BuildListener),
after the build result is fully finalized. This is the point
where the build is already considered completed.
Among other things, this is often a necessary pre-condition before invoking other builds that depend on this build.
cleanUp in class AbstractBuild.AbstractBuildExecutionExceptionCopyright © 2019. All rights reserved.