Class CommitStatusUpdater
java.lang.Object
com.dabsquared.gitlabjenkins.util.CommitStatusUpdater
- Author:
- Robin Müller
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidupdateCommitStatus(Run<?, ?> build, TaskListener listener, BuildState state, String name) static voidupdateCommitStatus(Run<?, ?> build, TaskListener listener, BuildState state, String name, Boolean attachStatusToMergeRequestPipeline) Same as the four-arg overload above, but with an explicit attachStatusToMergeRequestPipeline override; see the seven-arg overload.static voidupdateCommitStatus(Run<?, ?> build, TaskListener listener, BuildState state, String name, List<GitLabBranchBuild> gitLabBranchBuilds, GitLabConnectionProperty connection) static voidupdateCommitStatus(Run<?, ?> build, TaskListener listener, BuildState state, String name, List<GitLabBranchBuild> gitLabBranchBuilds, GitLabConnectionProperty connection, Boolean attachStatusToMergeRequestPipeline) Same as the six-arg overload above, but lets the caller explicitly opt in or out of attaching the status to the commit's merge request pipeline (see resolveMergeRequestPipelineId), overriding theGitLabConnectionConfigglobal default for this one call.
-
Constructor Details
-
CommitStatusUpdater
public CommitStatusUpdater()
-
-
Method Details
-
updateCommitStatus
public static void updateCommitStatus(Run<?, ?> build, TaskListener listener, BuildState state, String name, List<GitLabBranchBuild> gitLabBranchBuilds, GitLabConnectionProperty connection) -
updateCommitStatus
public static void updateCommitStatus(Run<?, ?> build, TaskListener listener, BuildState state, String name, List<GitLabBranchBuild> gitLabBranchBuilds, GitLabConnectionProperty connection, Boolean attachStatusToMergeRequestPipeline) Same as the six-arg overload above, but lets the caller explicitly opt in or out of attaching the status to the commit's merge request pipeline (see resolveMergeRequestPipelineId), overriding theGitLabConnectionConfigglobal default for this one call. Pass null to just use that global default. -
updateCommitStatus
public static void updateCommitStatus(Run<?, ?> build, TaskListener listener, BuildState state, String name) -
updateCommitStatus
public static void updateCommitStatus(Run<?, ?> build, TaskListener listener, BuildState state, String name, Boolean attachStatusToMergeRequestPipeline) Same as the four-arg overload above, but with an explicit attachStatusToMergeRequestPipeline override; see the seven-arg overload.
-