Class FlexiblePublisher
java.lang.Object
hudson.tasks.BuildStepCompatibilityLayer
hudson.tasks.Publisher
hudson.tasks.Recorder
org.jenkins_ci.plugins.flexible_publish.FlexiblePublisher
- All Implemented Interfaces:
ExtensionPoint,hudson.matrix.MatrixAggregatable,Describable<Publisher>,BuildStep,DependencyDeclarer
public class FlexiblePublisher
extends Recorder
implements DependencyDeclarer, hudson.matrix.MatrixAggregatable
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class hudson.tasks.Publisher
Publisher.DescriptorExtensionListImplNested classes/interfaces inherited from interface hudson.tasks.BuildStep
BuildStep.PublisherListNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Field Summary
FieldsFields inherited from interface hudson.tasks.BuildStep
BUILDERS, PUBLISHERS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbuildDependencyGraph(AbstractProject owner, DependencyGraph graph) hudson.matrix.MatrixAggregatorcreateAggregator(hudson.matrix.MatrixBuild build, Launcher launcher, BuildListener listener) Return an aggregator worked for multi-configuration projects.static Stringstatic Stringstatic StringgetBuildStepShortName(List<BuildStep> buildStepList) Collection<? extends Action> getProjectActions(AbstractProject<?, ?> project) booleanperform(AbstractBuild<?, ?> build, Launcher launcher, BuildListener listener) booleanprebuild(AbstractBuild<?, ?> build, BuildListener listener) Methods inherited from class hudson.tasks.Publisher
all, getProjectAction, needsToRunAfterFinalized, prebuildMethods inherited from class hudson.tasks.BuildStepCompatibilityLayer
getProjectAction, perform
-
Field Details
-
PROMOTION_JOB_TYPE
- See Also:
-
-
Constructor Details
-
FlexiblePublisher
- Parameters:
publishers-- See Also:
-
-
Method Details
-
getPublishers
-
getRequiredMonitorService
- Specified by:
getRequiredMonitorServicein interfaceBuildStep
-
getProjectActions
- Specified by:
getProjectActionsin interfaceBuildStep- Overrides:
getProjectActionsin classBuildStepCompatibilityLayer
-
prebuild
- Specified by:
prebuildin interfaceBuildStep- Overrides:
prebuildin classBuildStepCompatibilityLayer
-
perform
public boolean perform(AbstractBuild<?, ?> build, Launcher launcher, BuildListener listener) throws InterruptedException, IOException- Specified by:
performin interfaceBuildStep- Overrides:
performin classBuildStepCompatibilityLayer- Throws:
InterruptedExceptionIOException
-
getDescriptor
- Specified by:
getDescriptorin interfaceDescribable<Publisher>- Overrides:
getDescriptorin classRecorder
-
buildDependencyGraph
- Specified by:
buildDependencyGraphin interfaceDependencyDeclarer
-
createAggregator
public hudson.matrix.MatrixAggregator createAggregator(hudson.matrix.MatrixBuild build, Launcher launcher, BuildListener listener) Return an aggregator worked for multi-configuration projects.BuildStepCompatibilityLayer.perform(AbstractBuild, Launcher, BuildListener)is called for each axe combination builds. For whole the multi-configuration project,MatrixAggregator.endBuild()is called instead.- Specified by:
createAggregatorin interfacehudson.matrix.MatrixAggregatable- Parameters:
build-launcher-listener-- Returns:
- See Also:
-
getBuildStepDetailedName
-
getBuildStepShortName
-
getBuildStepShortName
-