io.blitz.jenkins
Class BlitzIOPublisher
java.lang.Object
hudson.tasks.BuildStepCompatibilityLayer
hudson.tasks.Publisher
hudson.tasks.Recorder
io.blitz.jenkins.BlitzIOPublisher
- All Implemented Interfaces:
- hudson.ExtensionPoint, hudson.model.Describable<hudson.tasks.Publisher>, hudson.tasks.BuildStep
public class BlitzIOPublisher
- extends hudson.tasks.Recorder
When the user configures the project and enables this publisher,
Descriptor.newInstance(StaplerRequest) is invoked
and a new BlitzIOPublisher is created. The created
instance is persisted to the project configuration XML by using
XStream, so this allows you to use instance fields (like rush)
to remember the configuration.
When a build is performed, the perform(AbstractBuild, Launcher, BuildListener)
method will be invoked.
- Author:
- Jeff Li
| 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 |
| Methods inherited from class hudson.tasks.Publisher |
all, getProjectAction, needsToRunAfterFinalized, prebuild |
| Methods inherited from class hudson.tasks.BuildStepCompatibilityLayer |
getProjectAction, 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 |
getProjectAction, getProjectActions, prebuild |
BlitzIOPublisher
@DataBoundConstructor
public BlitzIOPublisher(Boolean runSprint,
String sprint,
String responseTime,
Boolean runRush,
String rush,
String errorRate)
getRunSprint
public boolean getRunSprint()
- We'll use this from the config.jelly.
getRunRush
public boolean getRunRush()
getSprint
public String getSprint()
getResponseTime
public String getResponseTime()
getRush
public String getRush()
getErrorRate
public String getErrorRate()
getRequiredMonitorService
public hudson.tasks.BuildStepMonitor getRequiredMonitorService()
perform
public boolean perform(hudson.model.AbstractBuild build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
- Specified by:
perform in interface hudson.tasks.BuildStep- Overrides:
perform in class hudson.tasks.BuildStepCompatibilityLayer
getDescriptor
public BlitzIOPublisher.DescriptorImpl getDescriptor()
- Specified by:
getDescriptor in interface hudson.model.Describable<hudson.tasks.Publisher>- Overrides:
getDescriptor in class hudson.tasks.Recorder
Copyright © 2004-2012 Spirent Communications. All Rights Reserved.