Class GitLabCommitStatusStep
java.lang.Object
hudson.model.AbstractDescribableImpl<org.jenkinsci.plugins.workflow.steps.Step>
org.jenkinsci.plugins.workflow.steps.Step
com.dabsquared.gitlabjenkins.workflow.GitLabCommitStatusStep
- All Implemented Interfaces:
ExtensionPoint,Describable<org.jenkinsci.plugins.workflow.steps.Step>
@ExportedBean
public class GitLabCommitStatusStep
extends org.jenkinsci.plugins.workflow.steps.Step
- Author:
- Robin Müller
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classstatic classNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetName()voidsetAttachStatusToMergeRequestPipeline(Boolean attachStatusToMergeRequestPipeline) Explicitly opt this block in or out of attaching its status updates to the commit's merge request pipeline, overriding the plugin's global default (GitLabConnectionConfig).voidsetBuilds(List<GitLabBranchBuild> builds) voidsetConnection(GitLabConnectionProperty connection) org.jenkinsci.plugins.workflow.steps.StepExecutionstart(org.jenkinsci.plugins.workflow.steps.StepContext context) Methods inherited from class org.jenkinsci.plugins.workflow.steps.Step
getDescriptor
-
Constructor Details
-
GitLabCommitStatusStep
-
-
Method Details
-
start
public org.jenkinsci.plugins.workflow.steps.StepExecution start(org.jenkinsci.plugins.workflow.steps.StepContext context) throws Exception - Specified by:
startin classorg.jenkinsci.plugins.workflow.steps.Step- Throws:
Exception
-
getName
-
getBuilds
-
setBuilds
-
getConnection
-
setConnection
-
getAttachStatusToMergeRequestPipeline
-
setAttachStatusToMergeRequestPipeline
@DataBoundSetter public void setAttachStatusToMergeRequestPipeline(Boolean attachStatusToMergeRequestPipeline) Explicitly opt this block in or out of attaching its status updates to the commit's merge request pipeline, overriding the plugin's global default (GitLabConnectionConfig). Leave unset to just use that global default.
-