Package eu.royalsloth.depbuilder.jenkins
Class DslBuild.BuildExecution
- java.lang.Object
-
- hudson.model.Run.RunExecution
-
- hudson.model.Run.Runner
-
- hudson.model.AbstractBuild.AbstractBuildExecution
-
- hudson.model.AbstractBuild.AbstractRunner
-
- eu.royalsloth.depbuilder.jenkins.DslBuild.BuildExecution
-
- Enclosing class:
- DslBuild
protected class DslBuild.BuildExecution extends AbstractBuild.AbstractRunner
Implementation copied from freestyle project. CheckRun.RunExecution
which is the non deprecated run execution.
-
-
Field Summary
-
Fields inherited from class hudson.model.AbstractBuild.AbstractBuildExecution
launcher, listener
-
-
Constructor Summary
Constructors Constructor Description BuildExecution()
Some plugins might depend on this instance castable to Runner, so we need to use deprecated class here.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
cleanUp(BuildListener listener)
protected Result
doRun(BuildListener listener)
Optional<Scheduler>
getScheduler()
void
post2(BuildListener listener)
-
Methods inherited from class hudson.model.AbstractBuild.AbstractBuildExecution
createLauncher, decideWorkspace, defaultCheckout, getCurrentNode, getLauncher, getListener, perform, performAllBuildStep, performAllBuildStep, performAllBuildSteps, performAllBuildSteps, post, preBuild, preBuild, preBuild, run
-
Methods inherited from class hudson.model.Run.RunExecution
getAttributes, getBuild, getProject
-
-
-
-
Method Detail
-
doRun
protected Result doRun(@NonNull BuildListener listener) throws Exception
- Specified by:
doRun
in classAbstractBuild.AbstractBuildExecution
- Throws:
Exception
-
post2
public void post2(@NonNull BuildListener listener) throws IOException, InterruptedException
- Specified by:
post2
in classAbstractBuild.AbstractBuildExecution
- Throws:
IOException
InterruptedException
-
cleanUp
public void cleanUp(@NonNull BuildListener listener) throws Exception
- Overrides:
cleanUp
in classAbstractBuild.AbstractBuildExecution
- Throws:
Exception
-
-