com.ikokoon.serenity.hudson
Class SerenityPublisher
java.lang.Object
hudson.tasks.BuildStepCompatibilityLayer
hudson.tasks.Publisher
hudson.tasks.Recorder
com.ikokoon.serenity.hudson.SerenityPublisher
- All Implemented Interfaces:
- hudson.ExtensionPoint, hudson.model.Describable<hudson.tasks.Publisher>, hudson.tasks.BuildStep, java.io.Serializable
public class SerenityPublisher
- extends hudson.tasks.Recorder
- implements java.io.Serializable
This class runs at the end of the build, called by Hudson. The purpose is to copy the database files from the output directories for each module in
the case of Maven and Ant builds to the output directory for the build for display in the Hudson front end plugin. As well as this the source that
was found for the project is copied to the source directory where the front end can access it.
Once all the database files are copied to a location on the local machine then they are merged together and pruned.
- Since:
- 12.07.09
- Version:
- 01.00
- Author:
- Michael Couck
- See Also:
- Serialized Form
| Nested classes/interfaces inherited from class hudson.tasks.Publisher |
hudson.tasks.Publisher.DescriptorExtensionListImpl |
| Nested classes/interfaces inherited from interface hudson.ExtensionPoint |
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
| Nested classes/interfaces inherited from interface hudson.tasks.BuildStep |
hudson.tasks.BuildStep.PublisherList |
| Fields inherited from interface hudson.tasks.BuildStep |
BUILDERS, PUBLISHERS |
|
Method Summary |
hudson.model.Action |
getProjectAction(hudson.model.AbstractProject abstractProject)
|
hudson.tasks.BuildStepMonitor |
getRequiredMonitorService()
|
boolean |
perform(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener buildListener)
|
| 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 |
getProjectActions, perform, prebuild |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface hudson.tasks.BuildStep |
getProjectActions, prebuild |
logger
protected static org.apache.log4j.Logger logger
- The logger.
DESCRIPTOR
@Extension
public static final SerenityPublisher.DescriptorImpl DESCRIPTOR
- The description for Hudson.
SerenityPublisher
@DataBoundConstructor
public SerenityPublisher()
perform
public boolean perform(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener buildListener)
throws java.lang.InterruptedException,
java.io.IOException
-
- Specified by:
perform in interface hudson.tasks.BuildStep- Overrides:
perform in class hudson.tasks.BuildStepCompatibilityLayer
- Throws:
java.lang.InterruptedException
java.io.IOException
getProjectAction
public hudson.model.Action getProjectAction(hudson.model.AbstractProject abstractProject)
- Specified by:
getProjectAction in interface hudson.tasks.BuildStep- Overrides:
getProjectAction in class hudson.tasks.BuildStepCompatibilityLayer
getRequiredMonitorService
public hudson.tasks.BuildStepMonitor getRequiredMonitorService()
- Specified by:
getRequiredMonitorService in interface hudson.tasks.BuildStep
Copyright © 2010. All Rights Reserved.