Class GitLabCommitStatusPublisher
java.lang.Object
hudson.tasks.BuildStepCompatibilityLayer
hudson.tasks.Publisher
hudson.tasks.Notifier
com.dabsquared.gitlabjenkins.publisher.GitLabCommitStatusPublisher
- All Implemented Interfaces:
ExtensionPoint
,hudson.matrix.MatrixAggregatable
,Describable<Publisher>
,BuildStep
public class GitLabCommitStatusPublisher
extends Notifier
implements hudson.matrix.MatrixAggregatable
- 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 TypeMethodDescriptionhudson.matrix.MatrixAggregator
createAggregator
(hudson.matrix.MatrixBuild build, Launcher launcher, BuildListener listener) getName()
boolean
boolean
perform
(AbstractBuild<?, ?> build, Launcher launcher, BuildListener listener) boolean
prebuild
(AbstractBuild<?, ?> build, BuildListener listener) protected GitLabCommitStatusPublisher
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
-
Constructor Details
-
GitLabCommitStatusPublisher
@DataBoundConstructor public GitLabCommitStatusPublisher(String name, boolean markUnstableAsSuccess)
-
-
Method Details
-
getRequiredMonitorService
- Specified by:
getRequiredMonitorService
in interfaceBuildStep
-
prebuild
- Specified by:
prebuild
in interfaceBuildStep
- Overrides:
prebuild
in classBuildStepCompatibilityLayer
-
perform
public boolean perform(AbstractBuild<?, ?> build, Launcher launcher, BuildListener listener) throws InterruptedException, IOException- Specified by:
perform
in interfaceBuildStep
- Overrides:
perform
in classBuildStepCompatibilityLayer
- Throws:
InterruptedException
IOException
-
getName
-
isMarkUnstableAsSuccess
public boolean isMarkUnstableAsSuccess() -
readResolve
-
createAggregator
public hudson.matrix.MatrixAggregator createAggregator(hudson.matrix.MatrixBuild build, Launcher launcher, BuildListener listener) - Specified by:
createAggregator
in interfacehudson.matrix.MatrixAggregatable
-