public class GitLabCommitStatusPublisher extends Notifier implements hudson.matrix.MatrixAggregatable
Modifier and Type | Class and Description |
---|---|
static class |
GitLabCommitStatusPublisher.DescriptorImpl |
Publisher.DescriptorExtensionListImpl
ExtensionPoint.LegacyInstancesAreScopedToHudson
BuildStep.PublisherList
BUILDERS, PUBLISHERS
Constructor and Description |
---|
GitLabCommitStatusPublisher(String name,
boolean markUnstableAsSuccess) |
Modifier and Type | Method and Description |
---|---|
hudson.matrix.MatrixAggregator |
createAggregator(hudson.matrix.MatrixBuild build,
Launcher launcher,
BuildListener listener) |
String |
getName() |
BuildStepMonitor |
getRequiredMonitorService() |
boolean |
isMarkUnstableAsSuccess() |
boolean |
perform(AbstractBuild<?,?> build,
Launcher launcher,
BuildListener listener) |
boolean |
prebuild(AbstractBuild<?,?> build,
BuildListener listener) |
protected GitLabCommitStatusPublisher |
readResolve() |
getDescriptor
all, getProjectAction, needsToRunAfterFinalized, prebuild
getProjectAction, getProjectActions, perform
@DataBoundConstructor public GitLabCommitStatusPublisher(String name, boolean markUnstableAsSuccess)
public BuildStepMonitor getRequiredMonitorService()
getRequiredMonitorService
in interface BuildStep
public boolean prebuild(AbstractBuild<?,?> build, BuildListener listener)
prebuild
in interface BuildStep
prebuild
in class BuildStepCompatibilityLayer
public boolean perform(AbstractBuild<?,?> build, Launcher launcher, BuildListener listener) throws InterruptedException, IOException
perform
in interface BuildStep
perform
in class BuildStepCompatibilityLayer
InterruptedException
IOException
public String getName()
public boolean isMarkUnstableAsSuccess()
protected GitLabCommitStatusPublisher readResolve()
public hudson.matrix.MatrixAggregator createAggregator(hudson.matrix.MatrixBuild build, Launcher launcher, BuildListener listener)
createAggregator
in interface hudson.matrix.MatrixAggregatable
Copyright © 2016–2022. All rights reserved.