public class ViolationsToGitHubRecorder
extends hudson.tasks.Recorder
implements jenkins.tasks.SimpleBuildStep
hudson.tasks.Publisher.DescriptorExtensionListImpl
jenkins.tasks.SimpleBuildStep.LastBuildAction, jenkins.tasks.SimpleBuildStep.LastBuildActionFactory
Modifier and Type | Field and Description |
---|---|
static hudson.tasks.BuildStepDescriptor<hudson.tasks.Publisher> |
DESCRIPTOR |
Constructor and Description |
---|
ViolationsToGitHubRecorder() |
ViolationsToGitHubRecorder(boolean createSingleFileComments,
boolean createCommentWithAllSingleFileComments,
String repositoryName,
String repositoryOwner,
String password,
String username,
String oAuth2Token,
String pullRequestId,
String gitHubUrl,
boolean commentOnlyChangedContent,
List<ViolationConfig> violationConfigs,
String usernamePasswordCredentialsId,
boolean useOAuth2Token,
boolean useUsernamePasswordCredentials,
boolean useUsernamePassword) |
Modifier and Type | Method and Description |
---|---|
ViolationsToGitHubConfig |
getConfig() |
hudson.tasks.BuildStepDescriptor<hudson.tasks.Publisher> |
getDescriptor() |
hudson.tasks.BuildStepMonitor |
getRequiredMonitorService() |
void |
perform(hudson.model.Run<?,?> build,
hudson.FilePath filePath,
hudson.Launcher launcher,
hudson.model.TaskListener listener) |
void |
setConfig(ViolationsToGitHubConfig config) |
all, getProjectAction, needsToRunAfterFinalized, prebuild
getProjectAction, getProjectActions, perform, perform, prebuild
@Extension public static final hudson.tasks.BuildStepDescriptor<hudson.tasks.Publisher> DESCRIPTOR
public ViolationsToGitHubRecorder()
@DataBoundConstructor public ViolationsToGitHubRecorder(boolean createSingleFileComments, boolean createCommentWithAllSingleFileComments, String repositoryName, String repositoryOwner, String password, String username, String oAuth2Token, String pullRequestId, String gitHubUrl, boolean commentOnlyChangedContent, List<ViolationConfig> violationConfigs, String usernamePasswordCredentialsId, boolean useOAuth2Token, boolean useUsernamePasswordCredentials, boolean useUsernamePassword)
public ViolationsToGitHubConfig getConfig()
public hudson.tasks.BuildStepDescriptor<hudson.tasks.Publisher> getDescriptor()
getDescriptor
in interface hudson.model.Describable<hudson.tasks.Publisher>
getDescriptor
in class hudson.tasks.Recorder
public hudson.tasks.BuildStepMonitor getRequiredMonitorService()
getRequiredMonitorService
in interface hudson.tasks.BuildStep
public void perform(@Nonnull hudson.model.Run<?,?> build, @Nonnull hudson.FilePath filePath, @Nonnull hudson.Launcher launcher, @Nonnull hudson.model.TaskListener listener) throws InterruptedException, IOException
perform
in interface jenkins.tasks.SimpleBuildStep
InterruptedException
IOException
public void setConfig(ViolationsToGitHubConfig config)
Copyright © 2004-2016. All Rights Reserved.