Class GitLabAcceptMergeRequestPublisher
java.lang.Object
hudson.tasks.BuildStepCompatibilityLayer
hudson.tasks.Publisher
hudson.tasks.Notifier
com.dabsquared.gitlabjenkins.publisher.MergeRequestNotifier
com.dabsquared.gitlabjenkins.publisher.GitLabAcceptMergeRequestPublisher
- All Implemented Interfaces:
ExtensionPoint
,hudson.matrix.MatrixAggregatable
,Describable<Publisher>
,BuildStep
- Author:
- Robin Müller
-
Nested Class Summary
Nested classes/interfaces inherited from class hudson.tasks.Publisher
Publisher.DescriptorExtensionListImpl
Nested classes/interfaces inherited from interface hudson.tasks.BuildStep
BuildStep.PublisherList
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Field Summary
Fields inherited from interface hudson.tasks.BuildStep
BUILDERS, PUBLISHERS
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
protected void
perform
(Run<?, ?> build, TaskListener listener, GitLabClient client, MergeRequest mergeRequest) void
setDeleteSourceBranch
(boolean deleteSourceBranch) Methods inherited from class com.dabsquared.gitlabjenkins.publisher.MergeRequestNotifier
createAggregator, perform
Methods inherited from class hudson.tasks.Notifier
getDescriptor
Methods inherited from class hudson.tasks.Publisher
all, getProjectAction, needsToRunAfterFinalized, prebuild
Methods inherited from class hudson.tasks.BuildStepCompatibilityLayer
getProjectAction, getProjectActions, perform, prebuild
-
Constructor Details
-
GitLabAcceptMergeRequestPublisher
@DataBoundConstructor public GitLabAcceptMergeRequestPublisher()
-
-
Method Details
-
setDeleteSourceBranch
@DataBoundSetter public void setDeleteSourceBranch(boolean deleteSourceBranch) -
isDeleteSourceBranch
public boolean isDeleteSourceBranch() -
getRequiredMonitorService
- Specified by:
getRequiredMonitorService
in interfaceBuildStep
- Overrides:
getRequiredMonitorService
in classMergeRequestNotifier
-
perform
protected void perform(Run<?, ?> build, TaskListener listener, GitLabClient client, MergeRequest mergeRequest) - Specified by:
perform
in classMergeRequestNotifier
-