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, run
getAttributes, getBuild, getProject
protected Result doRun(@Nonnull BuildListener listener) throws Exception
AbstractBuild.AbstractBuildExecution
AbstractBuild
goes here.doRun
in class AbstractBuild.AbstractBuildExecution
Exception
public void post2(@Nonnull BuildListener listener) throws IOException, InterruptedException
post2
in class AbstractBuild.AbstractBuildExecution
IOException
InterruptedException
AbstractBuild.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.AbstractBuildExecution
Exception
Copyright © 2016. All rights reserved.