Package hudson.plugins.postbuildtask
Class PostbuildTask
java.lang.Object
hudson.tasks.BuildStepCompatibilityLayer
hudson.tasks.Publisher
hudson.tasks.Recorder
hudson.plugins.postbuildtask.PostbuildTask
- All Implemented Interfaces:
ExtensionPoint
,Describable<Publisher>
,BuildStep
Post build tasks added as
Recorder
.- Author:
- Shinod Mohandas
-
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
ConstructorsConstructorDescriptionPostbuildTask
(TaskProperties... tasks) PostbuildTask
(Collection<TaskProperties> tasks) -
Method Summary
Modifier and TypeMethodDescriptionThis method will return the taskProperties foe the specified logTextgetTasks()
This method will return all the tasksboolean
perform
(AbstractBuild build, Launcher launcher, BuildListener listener) Methods inherited from class hudson.tasks.Recorder
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
-
PostbuildTask
-
PostbuildTask
-
-
Method Details
-
getAllTasks
This method will return the taskProperties foe the specified logText- Returns:
- all the tasks.
-
getTasks
This method will return all the tasks- Returns:
- all the tasks.
-
getRequiredMonitorService
-
perform
public boolean perform(AbstractBuild build, Launcher launcher, BuildListener listener) throws InterruptedException, IOException - Specified by:
perform
in interfaceBuildStep
- Overrides:
perform
in classBuildStepCompatibilityLayer
- Throws:
InterruptedException
IOException
-