Class PostBuildScript
java.lang.Object
hudson.tasks.BuildStepCompatibilityLayer
hudson.tasks.Publisher
hudson.tasks.Notifier
org.jenkinsci.plugins.postbuildscript.PostBuildScript
- All Implemented Interfaces:
ExtensionPoint
,hudson.matrix.MatrixAggregatable
,Describable<Publisher>
,BuildStep
- Direct Known Subclasses:
MatrixPostBuildScript
- Author:
- Gregory Boissinot
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class hudson.tasks.Publisher
Publisher.DescriptorExtensionListImpl
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
ConstructorsConstructorDescriptionPostBuildScript
(Collection<ScriptFile> genericScriptFiles, Collection<ScriptFile> groovyScriptFiles, Collection<Script> groovyScripts, Collection<PostBuildStep> buildSteps, boolean markBuildUnstable) -
Method Summary
Modifier and TypeMethodDescriptionhudson.matrix.MatrixAggregator
createAggregator
(hudson.matrix.MatrixBuild build, Launcher launcher, BuildListener listener) List<? extends ScriptFile>
List<? extends ScriptFile>
boolean
boolean
perform
(AbstractBuild<?, ?> build, Launcher launcher, BuildListener listener) Methods inherited from class hudson.tasks.Notifier
getDescriptor
Methods inherited from class hudson.tasks.Publisher
all, getProjectAction, needsToRunAfterFinalized, prebuild
Methods inherited from class hudson.tasks.BuildStepCompatibilityLayer
getProjectAction, getProjectActions, perform, prebuild
-
Constructor Details
-
PostBuildScript
@DataBoundConstructor public PostBuildScript(Collection<ScriptFile> genericScriptFiles, Collection<ScriptFile> groovyScriptFiles, Collection<Script> groovyScripts, Collection<PostBuildStep> buildSteps, boolean markBuildUnstable)
-
-
Method Details
-
getRequiredMonitorService
- Specified by:
getRequiredMonitorService
in interfaceBuildStep
-
perform
- Specified by:
perform
in interfaceBuildStep
- Overrides:
perform
in classBuildStepCompatibilityLayer
-
getGenericScriptFiles
-
getGroovyScriptFiles
-
getGroovyScripts
-
getBuildSteps
-
isMarkBuildUnstable
public boolean isMarkBuildUnstable() -
createAggregator
public hudson.matrix.MatrixAggregator createAggregator(hudson.matrix.MatrixBuild build, Launcher launcher, BuildListener listener) - Specified by:
createAggregator
in interfacehudson.matrix.MatrixAggregatable
-