public class ReviewBoardNotifier extends Notifier implements SimpleBuildStep
| Modifier and Type | Class and Description |
|---|---|
static class |
ReviewBoardNotifier.DescriptorImpl
Provides the description of the notification build step and validation
functions for fields in its configuration form.
|
Publisher.DescriptorExtensionListImplSimpleBuildStep.LastBuildAction, SimpleBuildStep.LastBuildActionFactoryBuildStep.PublisherListExtensionPoint.LegacyInstancesAreScopedToHudsonBUILDERS, PUBLISHERS| Constructor and Description |
|---|
ReviewBoardNotifier()
Constructs the notifier.
|
| Modifier and Type | Method and Description |
|---|---|
BuildStepMonitor |
getRequiredMonitorService()
Declares the synchronization required for this step, for which we
require none.
|
void |
perform(Run<?,?> run,
FilePath filePath,
Launcher launcher,
TaskListener listener)
This function will be called as part of the post-build step.
|
void |
updateStatusUpdate(ReviewRequest reviewRequest,
ReviewRequest.StatusUpdateState state,
String description) |
getDescriptorall, getProjectAction, needsToRunAfterFinalized, prebuildgetProjectAction, getProjectActions, perform, perform, prebuildclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitperform, perform, requiresWorkspacegetProjectAction, getProjectActions, perform, prebuild@DataBoundConstructor public ReviewBoardNotifier()
public void perform(@Nonnull Run<?,?> run, @Nonnull FilePath filePath, @Nonnull Launcher launcher, @Nonnull TaskListener listener) throws InterruptedException, IOException
perform in interface SimpleBuildSteprun - The active Jenkins buildfilePath - The path to the build filelauncher - Process launcherlistener - LoggerInterruptedExceptionIOExceptionpublic void updateStatusUpdate(ReviewRequest reviewRequest, ReviewRequest.StatusUpdateState state, String description) throws IOException, ReviewBoardException
IOExceptionReviewBoardExceptionpublic BuildStepMonitor getRequiredMonitorService()
getRequiredMonitorService in interface BuildStepCopyright © 2016–2021. All rights reserved.