Class TriggerBuilder
java.lang.Object
hudson.tasks.BuildStepCompatibilityLayer
hudson.tasks.Builder
hudson.plugins.parameterizedtrigger.TriggerBuilder
- All Implemented Interfaces:
ExtensionPoint,Describable<Builder>,BuildStep,DependencyDeclarer
Builder that triggers other projects and optionally waits for their completion.- Author:
- Kohsuke Kawaguchi
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classNested classes/interfaces inherited from interface hudson.tasks.BuildStep
BuildStep.PublisherListNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Field Summary
Fields inherited from interface hudson.tasks.BuildStep
BUILDERS, PUBLISHERS -
Constructor Summary
ConstructorsConstructorDescriptionTriggerBuilder(BlockableBuildTriggerConfig... configs) TriggerBuilder(List<BlockableBuildTriggerConfig> configs) -
Method Summary
Modifier and TypeMethodDescriptionvoidbuildDependencyGraph(AbstractProject owner, DependencyGraph graph) Collection<? extends Action>getProjectActions(AbstractProject<?, ?> project) getProjectListAsString(List<Job> projectList) booleanperform(AbstractBuild<?, ?> build, Launcher launcher, BuildListener listener) Methods inherited from class hudson.tasks.Builder
all, getDescriptor, prebuildMethods inherited from class hudson.tasks.BuildStepCompatibilityLayer
getProjectAction, getProjectAction, perform, prebuild
-
Constructor Details
-
TriggerBuilder
-
TriggerBuilder
-
-
Method Details
-
getConfigs
-
getRequiredMonitorService
- Specified by:
getRequiredMonitorServicein interfaceBuildStep- Overrides:
getRequiredMonitorServicein classBuilder
-
perform
public boolean perform(AbstractBuild<?, ?> build, Launcher launcher, BuildListener listener) throws InterruptedException, IOException- Specified by:
performin interfaceBuildStep- Overrides:
performin classBuildStepCompatibilityLayer- Throws:
InterruptedExceptionIOException
-
getProjectListAsString
-
getProjectActions
- Specified by:
getProjectActionsin interfaceBuildStep- Overrides:
getProjectActionsin classBuildStepCompatibilityLayer
-
buildDependencyGraph
- Specified by:
buildDependencyGraphin interfaceDependencyDeclarer
-