public class ArgusNotifier extends Notifier
When the user configures the project and enables this builder,
Descriptor.newInstance(StaplerRequest) is invoked
and a new ArgusNotifier is created. The created
instance is persisted to the project configuration XML by using
XStream, so this allows you to use instance fields
to remember the configuration.
When a build is performed, the perform(hudson.model.AbstractBuild<?, ?>, hudson.Launcher, hudson.model.BuildListener) method will be invoked.
| Modifier and Type | Class and Description |
|---|---|
static class |
ArgusNotifier.DescriptorImpl
Descriptor for
ArgusNotifier. |
Publisher.DescriptorExtensionListImplExtensionPoint.LegacyInstancesAreScopedToHudsonBuildStep.PublisherListBUILDERS, PUBLISHERS| Constructor and Description |
|---|
ArgusNotifier() |
| Modifier and Type | Method and Description |
|---|---|
ArgusNotifier.DescriptorImpl |
getDescriptor() |
BuildStepMonitor |
getRequiredMonitorService() |
boolean |
needsToRunAfterFinalized()
Return true to ensure that we run after the build has been finalized (as the method suggests).
|
boolean |
perform(AbstractBuild<?,?> build,
Launcher launcher,
BuildListener listener) |
all, getProjectAction, prebuildgetProjectAction, getProjectActions, perform, prebuildpublic boolean needsToRunAfterFinalized()
needsToRunAfterFinalized in class Publisherpublic boolean perform(AbstractBuild<?,?> build, Launcher launcher, BuildListener listener) throws IOException, InterruptedException
perform in interface BuildStepperform in class BuildStepCompatibilityLayerIOExceptionInterruptedExceptionpublic ArgusNotifier.DescriptorImpl getDescriptor()
getDescriptor in interface Describable<Publisher>getDescriptor in class Notifierpublic BuildStepMonitor getRequiredMonitorService()
Copyright © 2016–2019. All rights reserved.