Class BuilderChain
- java.lang.Object
-
- hudson.tasks.BuildStepCompatibilityLayer
-
- hudson.tasks.Builder
-
- org.jenkinsci.plugins.conditionalbuildstep.BuilderChain
-
- All Implemented Interfaces:
ExtensionPoint
,Describable<Builder>
,BuildStep
public class BuilderChain extends Builder
A builder not directly configurable via UI, instances are only created for transitive usage to wrap the execution of multiple builders.- Author:
- Dominik Bartholdi (imod)
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
BuilderChain.DescriptorImpl
-
Nested classes/interfaces inherited from interface hudson.tasks.BuildStep
BuildStep.PublisherList
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Field Summary
-
Fields inherited from interface hudson.tasks.BuildStep
BUILDERS, PUBLISHERS
-
-
Constructor Summary
Constructors Constructor Description BuilderChain(List<BuildStep> conditionalbuilders)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BuilderChain.DescriptorImpl
getDescriptor()
boolean
perform(AbstractBuild<?,?> build, Launcher launcher, BuildListener listener)
boolean
prebuild(AbstractBuild<?,?> build, BuildListener listener)
-
Methods inherited from class hudson.tasks.Builder
all, getRequiredMonitorService, prebuild
-
Methods inherited from class hudson.tasks.BuildStepCompatibilityLayer
getProjectAction, getProjectAction, getProjectActions, perform
-
-
-
-
Method Detail
-
prebuild
public boolean prebuild(AbstractBuild<?,?> build, BuildListener listener)
- Specified by:
prebuild
in interfaceBuildStep
- Overrides:
prebuild
in classBuildStepCompatibilityLayer
-
perform
public boolean perform(AbstractBuild<?,?> build, Launcher launcher, BuildListener listener) throws IOException, InterruptedException
- Specified by:
perform
in interfaceBuildStep
- Overrides:
perform
in classBuildStepCompatibilityLayer
- Throws:
IOException
InterruptedException
-
getDescriptor
public BuilderChain.DescriptorImpl getDescriptor()
- Specified by:
getDescriptor
in interfaceDescribable<Builder>
- Overrides:
getDescriptor
in classBuilder
-
-