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.RunExecutionwhich 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 voidcleanUp(BuildListener listener)protected ResultdoRun(BuildListener listener)Optional<Scheduler>getScheduler()voidpost2(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:
doRunin classAbstractBuild.AbstractBuildExecution- Throws:
Exception
-
post2
public void post2(@NonNull BuildListener listener) throws IOException, InterruptedException- Specified by:
post2in classAbstractBuild.AbstractBuildExecution- Throws:
IOExceptionInterruptedException
-
cleanUp
public void cleanUp(@NonNull BuildListener listener) throws Exception- Overrides:
cleanUpin classAbstractBuild.AbstractBuildExecution- Throws:
Exception
-
-