Class GitHubPRStatusBuilder
- java.lang.Object
-
- hudson.tasks.BuildStepCompatibilityLayer
-
- hudson.tasks.Builder
-
- org.jenkinsci.plugins.github.pullrequest.builders.GitHubPRStatusBuilder
-
- All Implemented Interfaces:
ExtensionPoint
,Describable<Builder>
,BuildStep
,SimpleBuildStep
public class GitHubPRStatusBuilder extends Builder implements SimpleBuildStep
Sets pr status for build caused by GitHubPRCause
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GitHubPRStatusBuilder.DescriptorImpl
-
Nested classes/interfaces inherited from interface hudson.tasks.BuildStep
BuildStep.PublisherList
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Nested classes/interfaces inherited from interface jenkins.tasks.SimpleBuildStep
SimpleBuildStep.LastBuildAction, SimpleBuildStep.LastBuildActionFactory
-
-
Field Summary
Fields Modifier and Type Field Description static GitHubPRMessage
DEFAULT_MESSAGE
-
Fields inherited from interface hudson.tasks.BuildStep
BUILDERS, PUBLISHERS
-
-
Constructor Summary
Constructors Constructor Description GitHubPRStatusBuilder()
Constructor with defaults.GitHubPRStatusBuilder(GitHubPRMessage statusMessage)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GitHubPRMessage
getStatusMessage()
void
perform(Run<?,?> run, FilePath workspace, Launcher launcher, TaskListener listener)
-
Methods inherited from class hudson.tasks.Builder
all, getDescriptor, getRequiredMonitorService, prebuild
-
Methods inherited from class hudson.tasks.BuildStepCompatibilityLayer
getProjectAction, getProjectAction, getProjectActions, perform, perform, prebuild
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface hudson.tasks.BuildStep
getProjectAction, getProjectActions, getRequiredMonitorService, perform, prebuild
-
Methods inherited from interface jenkins.tasks.SimpleBuildStep
perform, perform, requiresWorkspace
-
-
-
-
Field Detail
-
DEFAULT_MESSAGE
public static final GitHubPRMessage DEFAULT_MESSAGE
-
-
Constructor Detail
-
GitHubPRStatusBuilder
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public GitHubPRStatusBuilder()
Constructor with defaults. Only for groovy UI.
-
GitHubPRStatusBuilder
@DataBoundConstructor public GitHubPRStatusBuilder(GitHubPRMessage statusMessage)
-
-
Method Detail
-
getStatusMessage
public GitHubPRMessage getStatusMessage()
-
perform
public void perform(@NonNull Run<?,?> run, @NonNull FilePath workspace, @NonNull Launcher launcher, @NonNull TaskListener listener) throws InterruptedException, IOException
- Specified by:
perform
in interfaceSimpleBuildStep
- Throws:
InterruptedException
IOException
-
-