public class StandaloneSonarLinterBuilder
extends hudson.tasks.Builder
implements jenkins.tasks.SimpleBuildStep
Modifier and Type | Class and Description |
---|---|
static class |
StandaloneSonarLinterBuilder.DescriptorImpl |
jenkins.tasks.SimpleBuildStep.LastBuildAction, jenkins.tasks.SimpleBuildStep.LastBuildActionFactory
Constructor and Description |
---|
StandaloneSonarLinterBuilder(List<SourcePattern> sourcePatterns,
String reportPath) |
Modifier and Type | Method and Description |
---|---|
StandaloneSonarLinterBuilder.DescriptorImpl |
getDescriptor() |
String |
getReportPath() |
List<SourcePattern> |
getSourcePatterns() |
void |
perform(hudson.model.Run<?,?> build,
hudson.FilePath workspace,
hudson.Launcher launcher,
hudson.model.TaskListener listener) |
void |
setReportPath(String reportPath) |
void |
setSourcePatterns(List<SourcePattern> sourcePatterns) |
getProjectAction, getProjectAction, getProjectActions, perform, perform, prebuild
@DataBoundConstructor public StandaloneSonarLinterBuilder(List<SourcePattern> sourcePatterns, String reportPath)
public List<SourcePattern> getSourcePatterns()
@DataBoundSetter public void setSourcePatterns(List<SourcePattern> sourcePatterns)
public String getReportPath()
@DataBoundSetter public void setReportPath(String reportPath)
public void perform(@Nonnull hudson.model.Run<?,?> build, @Nonnull hudson.FilePath workspace, @Nonnull hudson.Launcher launcher, @Nonnull hudson.model.TaskListener listener) throws InterruptedException, IOException
perform
in interface jenkins.tasks.SimpleBuildStep
InterruptedException
IOException
public StandaloneSonarLinterBuilder.DescriptorImpl getDescriptor()
getDescriptor
in interface hudson.model.Describable<hudson.tasks.Builder>
getDescriptor
in class hudson.tasks.Builder
Copyright © 2016–2019. All rights reserved.