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
public class SerenityPublisher
- extends hudson.tasks.Recorder
This class runs at the end of the build, called by Hudson. The purpose is to copy the database file from the output directory for the reports
directory where the build action can present the data to the front end. 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.
- Since:
- 12.07.09
- Version:
- 01.00
- Author:
- Michael Couck
| 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
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()
Copyright © 2010. All Rights Reserved.