hudson.plugins.ccm
Class CCMPublisher
java.lang.Object
hudson.tasks.BuildStepCompatibilityLayer
hudson.tasks.Publisher
hudson.tasks.Recorder
hudson.plugins.ccm.CCMPublisher
- All Implemented Interfaces:
- hudson.ExtensionPoint, hudson.model.Describable<hudson.tasks.Publisher>, hudson.tasks.BuildStep, java.io.Serializable
public class CCMPublisher
- extends hudson.tasks.Recorder
- implements java.io.Serializable
An extension point to execute a post build report generation for CCM.
It defines CCMProjectAction as Project Action and
CCMBuildAction as an action for each build.
This publisher is not executed when the build status is ABORTED or
FAILURE.
- Since:
- 16/08/2010
- Author:
- Bruno P. Kinoshita - http://www.kinoshita.eti.br
- 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 |
protected boolean |
canContinue(hudson.model.Result result)
CCM doesn't need to continue if the build's status is ABORTED or FAILURE. |
hudson.model.Action |
getProjectAction(hudson.model.AbstractProject<?,?> project)
Defines the project action. |
hudson.tasks.BuildStepMonitor |
getRequiredMonitorService()
|
boolean |
perform(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
Performs the publishing of CCM results. |
| 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 |
DESCRIPTOR
@Extension
public static final CCMPublisherDescriptor DESCRIPTOR
CCMPublisher
@DataBoundConstructor
public CCMPublisher()
getRequiredMonitorService
public hudson.tasks.BuildStepMonitor getRequiredMonitorService()
- Specified by:
getRequiredMonitorService in interface hudson.tasks.BuildStep
getProjectAction
public hudson.model.Action getProjectAction(hudson.model.AbstractProject<?,?> project)
- Defines the project action.
- Specified by:
getProjectAction in interface hudson.tasks.BuildStep- Overrides:
getProjectAction in class hudson.tasks.BuildStepCompatibilityLayer
canContinue
protected boolean canContinue(hudson.model.Result result)
- CCM doesn't need to continue if the build's status is ABORTED or FAILURE.
- Parameters:
result -
- Returns:
- true if build status is not ABORTED or FAILURE.
perform
public boolean perform(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
throws java.lang.InterruptedException,
java.io.IOException
- Performs the publishing of CCM results.
- Specified by:
perform in interface hudson.tasks.BuildStep- Overrides:
perform in class hudson.tasks.BuildStepCompatibilityLayer
- Throws:
java.lang.InterruptedException
java.io.IOException
Copyright © 2010. All Rights Reserved.